/* 
    Medivexis Global Marketing - Styles
    Modern Medical Aesthetics Style
*/

:root {
    --primary: #0f172a;
    --secondary: #1e293b;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --highlight: #60a5fa;
    --text-main: #334155;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --container: 1200px;
}

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

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

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--white);
    overflow-x: hidden;
    width: 100%;
}

h1, h2, h3, h4 {
    color: var(--primary);
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 100px 0;
}

.text-center { text-align: center; }
.max-600 { max-width: 600px; margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.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(59, 130, 246, 0.2);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

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

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
    display: block;
}

/* Badges & Titles */
.badge {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.sub-title {
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 15px;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Header & Nav */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    height: 80px;
    display: flex;
    align-items: center;
}

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

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo-text .accent {
    color: var(--accent);
}

.desktop-nav {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.desktop-nav a:not(.btn) {
    font-weight: 500;
    color: var(--text-main);
}

.desktop-nav a:not(.btn):hover {
    color: var(--accent);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: var(--transition);
}

.mobile-menu-overlay.active {
    transform: translateY(0);
}

.mobile-menu-overlay .close-btn {
    position: absolute;
    top: 25px;
    right: 25px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-link {
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.mobile-link:hover {
    color: var(--highlight);
    transform: scale(1.1);
}

/* Hero Section Refined */
.hero {
    height: auto;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 60px;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-image {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.1);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.hero h1 {
    font-size: 3.8rem;
    margin-bottom: 25px;
    line-height: 1.1;
}

.hero .highlight {
    color: var(--accent);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: var(--text-muted);
}

.previously-known {
    font-size: 1rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 15px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

/* Category grid (4 in one row) */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.category-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: var(--transition);
    text-align: center;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.05);
    border-color: var(--accent);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: rgba(59, 130, 246, 0.05);
    color: var(--accent);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

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

/* About Section Refined */
.about {
    background: var(--bg-light);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 40px;
    box-shadow: 0 40px 80px rgba(15, 23, 42, 0.1);
}

.about-content h2 {
    font-size: 3rem;
    margin-bottom: 25px;
}

.expertise-list {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.expertise-item {
    display: flex;
    gap: 1rem;
}

.item-icon {
    color: var(--accent);
}

.expertise-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

/* Animated World Map Wrapper */
.world-map-wrapper {
    margin-top: 50px;
    background: #fff;
    border-radius: 40px;
    padding: 0;
    position: relative;
    box-shadow: 0 40px 100px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
    overflow: hidden;
    height: auto;
}

.world-map-bg {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.8;
}

.world-map-wrapper svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ping-circle {
    fill: var(--accent);
    opacity: 0.6;
    animation: ping-pulse 2s infinite;
    transform-origin: center;
}

@keyframes ping-pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(3) translate(-25%, -25%); opacity: 0; }
}

.travel-line {
    fill: none;
    stroke: var(--accent);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 10, 5;
    animation: flow 20s linear infinite;
    opacity: 0.8;
}

@keyframes flow {
    from { stroke-dashoffset: 200; }
    to { stroke-dashoffset: 0; }
}

.hub-label {
    font-size: 10px;
    font-weight: 700;
    fill: var(--primary);
    filter: drop-shadow(0 2px 4px rgba(255,255,255,0.8));
    pointer-events: none;
}

/* Stats */
.stats {
    background: var(--primary);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--highlight);
}

.stat-plus {
    font-size: 2rem;
    color: var(--highlight);
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.portfolio-item {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 20px;
    border-bottom: 5px solid transparent;
    transition: var(--transition);
}

.portfolio-item:hover {
    background: white;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-color: var(--accent);
}

.item-cat {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 10px;
    display: block;
}

.portfolio-item h3 {
    margin-bottom: 15px;
}

.link-btn {
    margin-top: 20px;
    display: inline-block;
    color: var(--accent);
    font-weight: 600;
    position: relative;
}

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

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

/* Advantage */
.advantage-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.adv-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.adv-icon {
    width: 45px;
    height: 45px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Google Reviews Style */
.testimonials {
    background: #fff;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.google-review-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    transition: var(--transition);
}

.google-review-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.reviewer-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--secondary);
    background-size: cover;
}

.reviewer-info strong {
    display: block;
    font-size: 0.95rem;
}

.reviewer-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.google-icon {
    width: 20px;
    height: 20px;
}

.stars {
    color: #fbbc04; /* Google Star Color */
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-text {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-main);
}

/* Contact */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: flex-start;
}

.contact-methods {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.method-icon {
    width: 45px;
    height: 45px;
    background: var(--accent);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-form-wrapper {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 30px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* Footer */
.site-footer {
    background: var(--primary);
    color: white;
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 60px;
}

.footer-brand h3 {
    color: white;
    margin-bottom: 20px;
}

.footer-grid h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-links, .footer-products, .footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a, .footer-contact a, .footer-products span {
    color: #94a3b8;
}

.footer-links a:hover, .footer-contact a:hover {
    color: var(--highlight);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    color: #64748b;
}

.footer-bottom a {
    color: var(--highlight);
    text-decoration: underline;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ===== FOUNDER SECTION ===== */
.founder {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
    position: relative;
    overflow: hidden;
    color: #fff;
}

.founder-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 5rem;
    align-items: center;
}

/* Founder Image Column */
.founder-image-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.founder-image-frame {
    position: relative;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.founder-glow {
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, transparent 70%);
    animation: founderGlowPulse 4s ease-in-out infinite;
    z-index: 0;
}

.founder-ring {
    position: absolute;
    width: 330px;
    height: 330px;
    border-radius: 50%;
    border: 3px solid transparent;
    background: conic-gradient(from 0deg, #3b82f6, #60a5fa, #93c5fd, #3b82f6) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: founderRingSpin 8s linear infinite;
    z-index: 1;
}

.founder-photo {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    border: 5px solid rgba(255, 255, 255, 0.15);
    position: relative;
    z-index: 2;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.founder-image-frame:hover .founder-photo {
    transform: scale(1.05);
}

@keyframes founderGlowPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 1; }
}

@keyframes founderRingSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.founder-name-badge {
    text-align: center;
}

.founder-name-badge h3 {
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.founder-name-badge span {
    color: var(--highlight);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Founder Content Column */
.founder-content-col .sub-title {
    color: var(--highlight);
}

.founder-content-col h2 {
    color: #fff;
    font-size: 2.8rem;
    margin-bottom: 30px;
    line-height: 1.15;
}

.founder-content-col .highlight {
    color: var(--highlight);
}

/* Quote Block - Glassmorphism */
.founder-quote-block {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem 2.5rem;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.founder-quote-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent), var(--highlight));
    border-radius: 4px;
}

.quote-icon-wrap {
    color: var(--highlight);
    margin-bottom: 10px;
}

.founder-quote {
    font-size: 1.35rem;
    font-weight: 500;
    font-style: italic;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.6;
    letter-spacing: 0.3px;
}

.founder-vision {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Founder Highlights */
.founder-highlights {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.f-highlight {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.07);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.f-highlight:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

.f-highlight-icon {
    color: var(--highlight);
    display: flex;
    align-items: center;
}

.f-highlight span {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
}

/* Floating Particles */
.founder-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.15);
    animation: floatParticle 12s ease-in-out infinite;
}

.p1 { width: 12px; height: 12px; top: 15%; left: 5%; animation-delay: 0s; }
.p2 { width: 8px; height: 8px; top: 70%; left: 10%; animation-delay: 2s; }
.p3 { width: 15px; height: 15px; top: 20%; right: 8%; animation-delay: 4s; }
.p4 { width: 6px; height: 6px; top: 80%; right: 15%; animation-delay: 6s; }
.p5 { width: 10px; height: 10px; top: 50%; left: 50%; animation-delay: 3s; }

@keyframes floatParticle {
    0%, 100% { transform: translateY(0) translateX(0) scale(1); opacity: 0.3; }
    25% { transform: translateY(-30px) translateX(15px) scale(1.2); opacity: 0.6; }
    50% { transform: translateY(-15px) translateX(-10px) scale(0.8); opacity: 0.4; }
    75% { transform: translateY(-40px) translateX(20px) scale(1.1); opacity: 0.5; }
}

/* Responsive and Overflow Fixes */
@media (max-width: 1024px) {
    .hero-container, .about-container, .contact-container { 
        grid-template-columns: 1fr; 
        gap: 3rem; 
        text-align: center; 
    }
    .hero h1 { font-size: 2.8rem; }
    .hero-image { order: -1; max-width: 500px; margin: 0 auto; }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .about-image { max-width: 500px; margin: 0 auto; }
    .contact-methods { align-items: center; }
    .founder-wrapper { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .founder-content-col h2 { font-size: 2.2rem; }
    .founder-highlights { justify-content: center; }
}

@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .menu-toggle { display: block; }
    .hero { text-align: center; }
    .hero-btns { justify-content: center; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .advantage-list { grid-template-columns: 1fr; }
    .expertise-list { grid-template-columns: 1fr; }
    .section { padding: 80px 0; }
    .category-grid { grid-template-columns: 1fr; }
    .contact-form-wrapper { padding: 2rem 1.5rem; }
    .founder-image-frame { width: 250px; height: 250px; }
    .founder-photo { width: 230px; height: 230px; }
    .founder-glow { width: 260px; height: 260px; }
    .founder-ring { width: 250px; height: 250px; }
    .founder-quote { font-size: 1.15rem; }
    .founder-quote-block { padding: 1.5rem 1.75rem; }
    .founder-content-col h2 { font-size: 1.9rem; }
    .founder-highlights { gap: 0.75rem; }
    .f-highlight { padding: 0.6rem 1rem; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.1rem; }
    .hero-btns { flex-direction: column; }
    .hero-btns .btn { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .logo-text { font-size: 1.1rem; }
    .section-header h2 { font-size: 1.8rem; }
    .contact-form-wrapper { padding: 1.5rem 1rem; }
    .container { padding: 0 1rem; }
    .founder-image-frame { width: 200px; height: 200px; }
    .founder-photo { width: 180px; height: 180px; }
    .founder-glow { width: 210px; height: 210px; }
    .founder-ring { width: 200px; height: 200px; }
    .founder-name-badge h3 { font-size: 1.3rem; }
    .founder-content-col h2 { font-size: 1.6rem; }
    .founder-highlights { flex-direction: column; align-items: center; }
}

@media (max-width: 360px) {
    .logo-text { font-size: 1rem; }
    .hero h1 { font-size: 1.8rem; }
}
