/* ==========================================================================
   Base Styles & Variables
   ========================================================================== */
:root {
    /* Colors */
    --primary: #0a2540;      /* Deep Slate Blue */
    --primary-light: #163c63;
    --accent: #d4af37;       /* Luxury Gold */
    --accent-hover: #b5952f;
    --text-dark: #1a1a1a;
    --text-light: #f5f7fa;
    --text-muted: #6b7280;
    --bg-light: #f9fafb;
    --bg-dark: #0f172a;
    --white: #ffffff;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout & Effects */
    --container-width: 1200px;
    --border-radius: 12px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
}

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

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

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); color: var(--text-light); }

.text-center { text-align: center; }
.text-white { color: var(--white); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    font-family: var(--font-heading);
}

.btn-primary {
    background-color: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

.link-btn {
    color: var(--accent);
    font-weight: 600;
    font-family: var(--font-heading);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.link-btn:hover {
    gap: 10px;
    color: var(--primary);
}

/* ==========================================================================
   Typography Helpers
   ========================================================================== */
.section-header {
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.subtitle {
    display: inline-block;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.section-title {
    font-size: 2.75rem;
    margin-bottom: 20px;
}

.lead {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background-color: transparent;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
    padding: 15px 0;
}

.navbar.scrolled .nav-links a {
    color: var(--primary);
}

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

.logo img {
    height: 45px;
    width: 140px; /* Force a rectangular width */
    object-fit: cover; /* This will crop the image to fill the rectangle */
    object-position: center; /* Center the crop */
    border-radius: 4px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--white);
    font-weight: 500;
    font-family: var(--font-heading);
    position: relative;
    white-space: nowrap;
}

.navbar.scrolled .nav-links a:hover {
    color: var(--accent);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

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

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

.lang-selector {
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
    position: relative;
    padding: 10px 0;
}

.current-lang {
    display: flex;
    align-items: center;
    gap: 5px;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    padding: 8px 0;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1001;
}

.lang-selector:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark) !important;
    font-size: 0.9rem;
    font-family: var(--font-body);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.lang-dropdown a:hover {
    background-color: var(--bg-light);
    color: var(--accent) !important;
}

.lang-dropdown a.active {
    color: var(--accent) !important;
    background-color: rgba(212, 175, 55, 0.05);
}

.navbar.scrolled .lang-selector {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    color: var(--white);
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10, 37, 64, 0.95) 0%, rgba(10, 37, 64, 0.7) 50%, rgba(10, 37, 64, 0.2) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(212, 175, 55, 0.2);
    border: 1px solid var(--accent);
    border-radius: 50px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 4.5rem;
    color: var(--white);
    margin-bottom: 25px;
}

.hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 30px;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 1rem;
    margin-bottom: 0;
    font-weight: 500;
    letter-spacing: 1px;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-container {
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.feature-list {
    list-style: none;
    margin-top: 30px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--primary);
    font-family: var(--font-heading);
}

.feature-list i {
    color: var(--accent);
    font-size: 1.25rem;
}

.about-image {
    flex: 1;
    position: relative;
}

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

.image-wrapper img {
    width: 100%;
    height: auto;
    transform: scale(1.05);
    transition: transform 0.5s ease;
}

.image-wrapper:hover img {
    transform: scale(1);
}

.premium-box {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    z-index: 10;
    max-width: 250px;
    border-bottom: 4px solid var(--accent);
}

.premium-box i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 15px;
}

.premium-box h4 {
    margin-bottom: 5px;
}

.premium-box p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2x2 layout */
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

.card-content {
    padding: 30px;
    position: relative;
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    position: absolute;
    top: -30px;
    right: 30px;
    box-shadow: var(--shadow-md);
}

.card-content h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.card-content p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

/* ==========================================================================
   Process Section
   ========================================================================== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
}

/* Connecting line */
.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 50px;
    width: calc(100% - 100px);
    height: 2px;
    background-color: rgba(10, 37, 64, 0.1);
    z-index: 0;
}

.step {
    position: relative;
    z-index: 1;
    background: var(--white);
    padding: 30px 20px;
    border-radius: var(--border-radius);
    text-align: center;
}

.step-number {
    width: 80px;
    height: 80px;
    background-color: var(--white);
    border: 2px solid var(--accent);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    font-family: var(--font-heading);
    margin: 0 auto 20px;
    box-shadow: 0 0 0 10px var(--white);
}

.step h4 {
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.step p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   Certificates Section
   ========================================================================== */
.certificates-section {
    position: relative;
    overflow: hidden;
}

.certificates-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, rgba(15, 23, 42, 0) 70%);
}

.cert-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.cert-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 30px 20px;
    text-align: center;
    width: calc(20% - 16px);
    min-width: 200px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.cert-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: var(--accent);
}

.cert-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 15px;
}

.cert-card h4 {
    color: var(--white);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.cert-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.view-doc {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    font-weight: 600;
}

.health-tourism-badge {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--border-radius);
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.ht-icon {
    width: 80px;
    height: 80px;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--accent);
    flex-shrink: 0;
}

.ht-text h3 {
    color: var(--white);
    margin-bottom: 10px;
}

.ht-text p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* ==========================================================================
   Partners Section
   ========================================================================== */
.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.partner-logo {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 250px;
    height: 120px;
    border: 1px solid rgba(0,0,0,0.05);
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(212, 175, 55, 0.3);
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* White logo visibility fix */
.partner-logo img.invert-to-dark {
    filter: brightness(0);
    opacity: 0.7;
}

.partner-logo:hover img.invert-to-dark {
    filter: brightness(0);
    opacity: 1;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-container {
    display: flex;
    gap: 60px;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-info > p {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1.125rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item .icon {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.info-item h4 {
    margin-bottom: 5px;
    font-size: 1.125rem;
}

.info-item p {
    color: var(--text-muted);
    margin: 0;
}

.contact-form-wrapper {
    flex: 1.2;
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: flex;
    gap: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary);
    font-family: var(--font-heading);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-dark);
    transition: var(--transition);
    background-color: var(--bg-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
    background-color: var(--white);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 20px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 50px;
    width: 155px; /* Adjust proportionally */
    object-fit: cover;
    object-position: center;
    border-radius: 4px;
    margin-bottom: 20px;
}

.footer-brand p {
    margin-bottom: 25px;
    max-width: 400px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.25rem;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.875rem;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1200px) {
    .nav-links { gap: 15px; }
    .nav-actions { gap: 15px; }
}

@media (max-width: 1100px) {
    .navbar { padding: 15px 0; background-color: rgba(255, 255, 255, 0.98); }
    .nav-links, .nav-actions .btn { display: none; }
    .lang-selector { color: var(--primary); padding: 5px 0; }
    .mobile-menu-btn { display: block; color: var(--primary); margin-left: 15px; }
    .logo img { height: 35px; }
}

@media (max-width: 992px) {
    .hero h1 { font-size: 3.5rem; }
    .about-container { flex-direction: column; }
    .premium-box { bottom: 20px; left: 20px; right: 20px; max-width: none; }
    .contact-container { flex-direction: column; }
    .footer-top { grid-template-columns: 1fr; gap: 40px; }
    .process-steps::before { display: none; }
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: auto;
        padding-top: 130px;
        padding-bottom: 60px;
    }
    
    .hero h1 { font-size: 2.75rem; }
    .hero-stats { flex-direction: column; gap: 20px; }
    .hero-buttons { flex-direction: column; }
    
    .section { padding: 60px 0; }
    .section-title { font-size: 2rem; }
    
    .cert-card { width: calc(50% - 10px); }
    .health-tourism-badge { flex-direction: column; text-align: center; padding: 30px; }
    
    .form-row { flex-direction: column; gap: 0; }
    
    .services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .cert-card { width: 100%; }
}
