/* Boynton Beach Medical Center - Modern Redesign
   Clean, professional, medical color palette
   Navy + teal + white, Inter font family
*/

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

:root {
    --navy: #1a3a5c;
    --navy-dark: #0f2942;
    --navy-light: #2a5580;
    --teal: #2d8c8c;
    --teal-light: #3da8a8;
    --gray-bg: #f6f7f9;
    --gray-border: #e2e5ea;
    --gray-text: #6a7280;
    --dark-text: #1f2937;
    --white: #ffffff;
    --shadow: 0 2px 12px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.1);
    --radius: 10px;
    --radius-sm: 6px;
    --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-text);
    background: var(--white);
    overflow-x: hidden;
}

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

/* Header */
.site-header { position: relative; z-index: 100; }

.header-bar {
    background: var(--navy-dark);
    border-bottom: none;
    padding: 14px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

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

.logo-text {
    display: none;
}

/* Language Dropdown */
.lang-dropdown {
    position: relative;
    margin-left: auto;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    color: white;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}

.lang-toggle:hover {
    background: rgba(255,255,255,0.22);
}

.lang-toggle svg {
    width: 16px;
    height: 16px;
}

.lang-toggle .chevron {
    width: 12px;
    height: 12px;
    transition: transform 0.2s;
}

.lang-dropdown.open .chevron {
    transform: rotate(180deg);
}

.lang-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.18);
    overflow: hidden;
    min-width: 160px;
    z-index: 1000;
}

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

.lang-menu button {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    background: none;
    border: none;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--navy);
    cursor: pointer;
    transition: background 0.15s;
    font-family: 'Inter', sans-serif;
    text-align: left;
}

.lang-menu button:hover {
    background: #f0f5f8;
}

.lang-menu button.active {
    background: #e8f4f6;
    color: var(--teal);
    font-weight: 700;
}

.lang-menu .lang-flag {
    font-size: 18px;
    line-height: 1;
}

#google_translate_element {
    display: none;
}

/* Hide Google Translate banner */
.goog-te-banner-frame { display: none !important; }
.goog-te-gadget { display: none !important; }
body { top: 0 !important; }
.goog-tooltip { display: none !important; }
.goog-tooltip:hover { display: none !important; }
.goog-text-highlight {
    background-color: transparent !important;
    box-shadow: none !important;
}

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

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

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

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

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

.social-links a:hover {
    background: var(--teal);
    color: white;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 4px;
}

/* Navigation */
.nav-wrap {
    background: var(--navy);
    padding: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 0;
}

.nav-menu li a {
    display: block;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    padding: 16px 20px;
    transition: var(--transition);
}

.nav-menu li a:hover, .nav-menu li a.active {
    color: white;
    background: rgba(255,255,255,0.08);
}

.nav-cta {
    margin-left: auto;
}

.nav-cta a {
    background: var(--teal);
    color: white !important;
    border-radius: 0;
    font-weight: 600;
    padding: 16px 28px !important;
}

.nav-cta a:hover {
    background: var(--teal-light) !important;
}

/* Hero */
.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(15,41,66,0.85) 0%, rgba(26,58,92,0.7) 60%, rgba(42,85,128,0.6) 100%), url('images/slider_a.jpg') center/cover no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15,41,66,0.7) 0%, rgba(15,41,66,0.2) 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 70px 24px;
    position: relative;
    z-index: 1;
}

.hero-tagline {
    color: var(--teal-light);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.hero h1 {
    font-size: 44px;
    font-weight: 700;
    color: white;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--teal-light);
}

.hero-sub {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    max-width: 540px;
    margin-bottom: 32px;
}

.hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: var(--teal-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(45,140,140,0.3);
}

.btn-outline {
    border-color: rgba(255,255,255,0.4);
    color: white;
}

.btn-outline:hover {
    border-color: white;
    background: rgba(255,255,255,0.05);
}

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

.btn-white:hover {
    background: var(--gray-bg);
    transform: translateY(-1px);
}

/* Hero badges */
.hero-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.badge {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    padding: 24px 20px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.badge span {
    color: white;
    font-weight: 600;
    font-size: 14px;
    display: block;
}

/* Features */
.features {
    padding: 0;
    margin-top: -40px;
    position: relative;
    z-index: 2;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.feature-card {
    padding: 36px 28px;
    border-right: 1px solid var(--gray-border);
}

.feature-card:last-child { border-right: none; }

.feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(45,140,140,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    margin-bottom: 18px;
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: var(--gray-text);
    line-height: 1.5;
}

/* Section header */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

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

.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.3;
}

/* Mission */
.mission {
    padding: 80px 0;
    background: var(--gray-bg);
}

.mission-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: start;
}

.mission-content p {
    color: var(--gray-text);
    margin-bottom: 18px;
    line-height: 1.7;
}

.mission-content strong {
    color: var(--navy);
}

.mission-list {
    background: white;
    padding: 36px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.mission-list h3 {
    font-size: 18px;
    color: var(--navy);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--gray-border);
}

.mission-list ul {
    list-style: none;
}

.mission-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 15px;
    color: var(--dark-text);
}

.check {
    color: var(--teal);
    font-weight: 700;
    font-size: 18px;
}

/* Services */
.services {
    padding: 80px 0;
}

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

.service-card {
    background: white;
    border: 1px solid var(--gray-border);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

.service-icon-wrap {
    width: 64px;
    height: 64px;
    background: var(--navy);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 22px;
    transition: var(--transition);
}

.service-card:hover .service-icon-wrap {
    background: var(--teal);
}

.service-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 14px;
    color: var(--gray-text);
    line-height: 1.6;
    margin-bottom: 16px;
}

.service-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--teal);
    transition: var(--transition);
}

.service-card:hover .service-link {
    color: var(--navy);
}

/* Doctors */
.doctors {
    padding: 80px 0;
    background: var(--gray-bg);
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.doctor-card {
    background: white;
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow);
}

.doctor-avatar {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), var(--teal));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 700;
    margin: 0 auto 20px;
    border: 5px solid var(--white);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
}

.doctor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.doctor-card h3 {
    font-size: 19px;
    color: var(--navy);
    margin-bottom: 4px;
}

.doctor-title {
    font-size: 14px;
    color: var(--teal);
    font-weight: 500;
    margin-bottom: 16px;
}

.doctor-bio {
    text-align: left;
    background: var(--gray-bg);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 16px;
}

.doctor-bio p {
    font-size: 13px;
    color: var(--gray-text);
    padding: 3px 0;
}

.doctor-desc {
    font-size: 14px;
    color: var(--gray-text);
    line-height: 1.6;
    text-align: left;
}

/* Conditions */
.conditions {
    padding: 80px 0;
}

/* Bilingual/Transportation Bar */
.info-bar {
    background: var(--navy);
    color: white;
    padding: 28px 0;
}

.info-bar-inner {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    align-items: center;
}

.info-bar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
}

.info-bar-item svg {
    flex-shrink: 0;
    color: var(--teal-light);
}

.info-bar-divider {
    width: 1px;
    height: 24px;
    background: rgba(255,255,255,0.2);
}

.conditions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.condition-item {
    padding: 0;
    border-left: 3px solid var(--teal);
    background: var(--gray-bg);
    border-radius: 0 var(--radius) var(--radius) 0;
    overflow: hidden;
    transition: var(--transition);
}

.condition-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.condition-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.condition-body {
    padding: 24px;
}

.condition-item h3 {
    font-size: 18px;
    color: var(--navy);
    margin-bottom: 10px;
}

.condition-item p {
    font-size: 14px;
    color: var(--gray-text);
    line-height: 1.6;
}

/* Trust strip */
.trust-strip {
    padding: 50px 0;
    background: var(--gray-bg);
}

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

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

.trust-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 14px;
}

.trust-item h4 {
    font-size: 14px;
    color: var(--navy);
    font-weight: 600;
}

.trust-item p {
    font-size: 13px;
    color: var(--gray-text);
}

/* About page images */
.about-hero-img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 40px;
}

.content-img-right {
    float: right;
    width: 45%;
    margin: 0 0 20px 30px;
    border-radius: var(--radius);
}

.content-img-left {
    float: left;
    width: 45%;
    margin: 0 30px 20px 0;
    border-radius: var(--radius);
}

/* Service detail images */
.service-detail-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

/* Offer */
.offer {
    padding: 70px 0;
    background: linear-gradient(135deg, rgba(15,41,66,0.92) 0%, rgba(26,58,92,0.88) 100%), url('images/offer_back.jpg') center/cover no-repeat;
    position: relative;
    overflow: hidden;
}

.offer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15,41,66,0.6) 0%, rgba(15,41,66,0.3) 100%);
}

.offer-box {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.offer-box h2 {
    font-size: 30px;
    color: white;
    margin-bottom: 8px;
}

.offer-sub {
    font-size: 18px;
    color: var(--teal-light);
    margin-bottom: 28px;
    font-weight: 500;
}

.offer-list {
    list-style: none;
    text-align: left;
    max-width: 320px;
    margin: 0 auto 32px;
}

.offer-list li {
    color: rgba(255,255,255,0.85);
    padding: 8px 0 8px 28px;
    position: relative;
    font-size: 15px;
}

.offer-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--teal-light);
    font-weight: 700;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: var(--gray-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: white;
    border-radius: var(--radius);
    padding: 32px 28px;
    box-shadow: var(--shadow);
}

.stars {
    color: #f5a623;
    font-size: 18px;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-card p {
    font-size: 15px;
    color: var(--dark-text);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 16px;
}

.testimonial-author {
    font-size: 14px;
    color: var(--navy);
    font-weight: 600;
    font-style: normal;
}

/* Location */
.location {
    padding: 80px 0;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: stretch;
}

.location-info .section-label {
    margin-bottom: 12px;
    display: block;
}

.location-info h2 {
    font-size: 28px;
    color: var(--navy);
    margin-bottom: 28px;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 28px;
}

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

.loc-item svg {
    color: var(--teal);
    flex-shrink: 0;
    margin-top: 2px;
}

.loc-item strong {
    display: block;
    color: var(--navy);
    font-size: 14px;
    margin-bottom: 4px;
}

.loc-item p {
    font-size: 15px;
    color: var(--gray-text);
    line-height: 1.6;
}

.hours-table {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hours-table div {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--gray-text);
    padding: 4px 0;
    border-bottom: 1px solid var(--gray-border);
}

.hours-table div:last-child { border-bottom: none; }

.hours-table div span:first-child {
    font-weight: 500;
    color: var(--dark-text);
}

.location-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.location-btns .btn-primary {
    background: var(--navy);
}

.location-btns .btn-primary:hover {
    background: var(--navy-light);
}

.location-btns .btn-outline {
    border-color: var(--navy);
    color: var(--navy);
}

.location-btns .btn-outline:hover {
    background: var(--navy);
    color: white;
}

.location-map {
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 400px;
    box-shadow: var(--shadow);
}

.location-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* Footer */
.site-footer {
    background: var(--navy-dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h4 {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 18px;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 8px;
}

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

.footer-col ul li {
    padding: 5px 0;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--teal-light);
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-social a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--teal-light);
}

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

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

/* Responsive */
@media (max-width: 992px) {
    .header-contact { display: none; }
    .menu-toggle { display: block; }
    
    .nav-menu {
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--navy);
        display: none;
        z-index: 99;
    }
    
    .nav-menu.open { display: flex; }
    .nav-menu li { width: 100%; }
    .nav-menu li a { padding: 14px 24px; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .nav-cta { margin-left: 0; }
    .nav-cta a { border-radius: 0; }
    
    .hero-content { grid-template-columns: 1fr; gap: 30px; }
    .hero h1 { font-size: 34px; }
    .hero-sub { font-size: 16px; }
    
    .features-grid { grid-template-columns: 1fr 1fr; }
    .feature-card { border-right: none; border-bottom: 1px solid var(--gray-border); }
    .feature-card:nth-child(odd) { border-right: 1px solid var(--gray-border); }
    .feature-card:nth-last-child(-n+2) { border-bottom: none; }
    
    .mission-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .doctors-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .conditions-grid { grid-template-columns: 1fr 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
    .location-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 600px) {
    .container { padding: 0 16px; }
    .logo-text { display: none; }
    
    .hero { min-height: auto; }
    .hero h1 { font-size: 28px; }
    .hero-badges { grid-template-columns: 1fr; }
    .badge { padding: 16px; }
    
    .features-grid { grid-template-columns: 1fr; }
    .feature-card { border-right: none !important; border-bottom: 1px solid var(--gray-border); }
    .feature-card:last-child { border-bottom: none; }
    
    .section-header h2 { font-size: 26px; }
    .services-grid { grid-template-columns: 1fr; }
    .conditions-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    
    .offer-box h2 { font-size: 24px; }
    
    .hero-btns { flex-direction: column; }
    .hero-btns .btn { width: 100%; }
}