/* ============================================
   PRACHI SURGICARE - PREMIUM DESIGN 2.0
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Poppins:wght@400;500;600;700&display=swap');

:root {
    /* Healthrenz-inspired Teal & Green Palette */
    --primary: #008080;
    /* Teal */
    --primary-light: #20c997;
    /* Greenish Teal */
    --secondary: #0ead69;
    /* Fresh Green */
    --accent: #ffd700;
    /* Gold Accent */
    --dark: #1d3557;
    /* Dark Navy */
    --text-main: #2b2d42;
    --text-light: #555b6e;
    --white: #ffffff;
    --bg-light: #f4fcf7;
    /* Light Mint BG */

    /* Gradients */
    --gradient-main: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-glow: linear-gradient(135deg, rgba(0, 128, 128, 0.5) 0%, rgba(32, 201, 151, 0.5) 100%);

    /* Blob Colors */
    --blob-1: #20c997;
    --blob-2: #008080;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: 1px solid rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(0, 128, 128, 0.1);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --blur: blur(12px);
    --container: 1200px;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background: #f0f7ff;
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Animated Background Mesh */
.bg-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at 10% 10%, rgba(144, 224, 239, 0.4), transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 180, 216, 0.2), transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.8), transparent 60%);
}

.blob {
    position: absolute;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.6;
    animation: float 20s infinite ease-in-out alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: var(--accent);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: var(--primary-light);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation-delay: -5s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(50px, 50px) rotate(20deg);
    }
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--dark);
    font-weight: 700;
}

p {
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

/* Components */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--gradient-main);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
    box-shadow: 0 10px 20px rgba(0, 128, 128, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: 0.3s;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 128, 128, 0.4);
}

.btn:hover::after {
    opacity: 1;
}

/* Navigation - Glassmorphism */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: var(--blur) saturate(180%);
    -webkit-backdrop-filter: var(--blur) saturate(180%);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.02);
}

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

.logo {
    width: 50px;
}

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
    list-style: none;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: 0.3s;
    border-radius: 2px;
}

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

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

.theme-btn {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.3s ease;
}

.theme-btn:hover {
    transform: scale(1.2);
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 2px;
    background-color: var(--dark);
    margin: 6px;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    padding-top: 180px;
    padding-bottom: 100px;
    text-align: center;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-logo {
    width: 200px;
    margin-bottom: 2.5rem;
    filter: drop-shadow(0 15px 30px rgba(0, 128, 128, 0.25));
    animation: floatLogo 6s ease-in-out infinite;
}

@keyframes floatLogo {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.hero h1 {
    font-size: clamp(1.5rem, 6vw, 4rem);
    line-height: 1.2;
    margin-bottom: clamp(1rem, 4vw, 1.5rem);
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero p {
    font-size: 1.35rem;
    margin-bottom: clamp(1.5rem, 5vw, 2.5rem);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: clamp(1.5rem, 5vw, 2.5rem);
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* About / Features - Glass Cards */
.features {
    padding: 6rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: var(--glass-border);
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 20px 40px rgba(0, 128, 128, 0.15);
}

.icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(0, 128, 128, 0.1);
    color: var(--primary);
}

/* Owner Section */
.owner-section {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    border: var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 4rem;
    margin-bottom: 5rem;
    box-shadow: var(--glass-shadow);
}

.owner-img-container img {
    border: 5px solid white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Products Section */
.products {
    padding: 6rem 0;
    background: transparent;
}

.section-title {
    text-align: center;
    margin-bottom: clamp(2rem, 8vw, 3.5rem);
}

.section-title h2 {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    margin-bottom: 0.4rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title p {
    font-size: clamp(0.95rem, 3vw, 1.1rem);
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.product-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--glass-shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.product-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 30px 60px rgba(0, 128, 128, 0.2);
    z-index: 2;
    background: #fff;
}

.product-img {
    height: 220px;
    background: linear-gradient(135deg, #eafbff 0%, #d4f1f4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
    padding: 20px;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
    filter: drop-shadow(0 10px 15px rgba(0, 128, 128, 0.2));
}

.product-card:hover .product-img img {
    transform: scale(1.1) rotate(3deg);
}

.product-card:hover .product-img {
    background: linear-gradient(135deg, #d4f1f4 0%, #b2ebf2 100%);
}

.product-info {
    padding: 2rem;
}

.product-info h3 {
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
    color: var(--primary);
}

.product-info p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Partners / Principals Section */
.partners-section {
    padding: 4rem 0;
    position: relative;
    z-index: 2;
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
}

.partner-logo {
    width: 200px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-md);
    padding: 1rem;
    transition: all 0.4s ease;
}

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

.partner-logo:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 30px rgba(0, 128, 128, 0.15);
    border-color: var(--primary);
}

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

/* Contact Section */
.contact {
    padding: 6rem 0;
    margin-top: 4rem;
    background: var(--dark);
    color: var(--white);
    position: relative;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: var(--primary);
    filter: blur(100px);
    opacity: 0.3;
    border-radius: 50%;
}

.contact h2 {
    color: var(--white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.contact-info h3 {
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

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

.form-group label {
    color: var(--accent);
    margin-bottom: 0.8rem;
    display: block;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 15px;
    border-radius: 8px;
    transition: 0.3s;
    font-size: 1rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(144, 224, 239, 0.2);
    outline: none;
}

/* Footer */
footer {
    background: #001f44;
    color: rgba(255, 255, 255, 0.5);
    padding: 3rem 0;
    text-align: center;
    font-size: 0.9rem;
}

.partner-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--primary-light);
    font-weight: 600;
    transition: 0.3s;
}

.partner-link:hover {
    color: var(--secondary);
    text-decoration: underline;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f0f7ff;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-main);
    border-radius: 5px;
    border: 2px solid #f0f7ff;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Custom Cursor */
body {
    cursor: none;
}

.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(0, 128, 128, 0.5);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

body.hovering .cursor-outline {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 128, 128, 0.1);
    border-color: transparent;
}

/* Scroll Progress Bar */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 10000;
}

.scroll-progress-bar {
    height: 100%;
    background: var(--gradient-glow);
    width: 0%;
    transition: width 0.1s;
    box-shadow: 0 0 10px var(--primary-light);
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: opacity 0.8s ease, visibility 0.8s;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(0, 128, 128, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 20px;
}

.preloader h2 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 1.8rem;
    letter-spacing: 2px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Floating Action Button (FAB) */
.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.fab-main {
    width: 60px;
    height: 60px;
    background: var(--gradient-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 128, 128, 0.3);
    transition: all 0.3s ease;
}

.fab-main:hover {
    transform: scale(1.1) rotate(15deg);
}

.fab-options {
    position: absolute;
    bottom: 75px;
    right: 5px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.fab-container:hover .fab-options {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.fab-option {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    font-size: 1.4rem;
}

.fab-option:hover {
    transform: scale(1.1);
}

.fab-option.whatsapp {
    background: #25d366;
    color: white;
}

.fab-option.phone {
    background: #34b7f1;
    color: white;
}

/* Dark Theme overrides */
body.dark-theme {
    background: #0b132b;
    color: #f0f3f8;
}

body.dark-theme .bg-mesh {
    background: radial-gradient(circle at 10% 10%, rgba(0, 128, 128, 0.2), transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(14, 173, 105, 0.1), transparent 40%),
        radial-gradient(circle at 50% 50%, #0b132b, transparent 60%);
}

body.dark-theme header {
    background: rgba(11, 19, 43, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

body.dark-theme .nav-links a {
    color: #f0f3f8;
}

body.dark-theme .feature-card,
body.dark-theme .product-card,
body.dark-theme .testimonial-card,
body.dark-theme .partner-logo {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #f0f3f8;
}

body.dark-theme p {
    color: #a0aabf;
}

body.dark-theme .owner-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive */
@media screen and (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 3rem;
    }
}

@media screen and (max-width: 768px) {
    /* Hide custom cursor on mobile/touch devices */
    .cursor-dot,
    .cursor-outline {
        display: none !important;
    }
    body {
        cursor: default;
    }

    /* Reduce general section padding for mobile */
    .features,
    .products,
    .testimonials,
    .contact {
        padding: 4rem 0 !important;
    }

    /* Navigation Menu */
    .nav-links {
        position: fixed;
        right: 0;
        top: 0;
        height: 100vh;
        width: 70%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateX(100%);
        transition: 0.4s ease;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }

    body.dark-theme .nav-links {
        background: rgba(11, 19, 43, 0.98);
    }

    .nav-links.nav-active {
        transform: translateX(0%);
    }

    .burger {
        display: block;
        z-index: 1001;
    }

    /* Hero Section */
    .hero {
        padding-top: 130px;
        padding-bottom: 60px;
    }

    .hero-logo {
        width: 140px;
        margin-bottom: 1.5rem;
    }

    .hero h1 br {
        display: none;
    }

    .hero p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .badges {
        gap: 0.8rem;
    }

    /* Owner Section */
    .owner-section {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
        gap: 2rem;
    }

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

    .owner-img-container img {
        width: 200px;
        height: 200px;
    }

    /* Grid Layouts */
    .product-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Testimonials */
    .testimonial-card {
        min-width: 280px !important;
        padding: 1.5rem !important;
    }

    /* Contact Section */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }
}
