/* 
Sundaram Medical Devices - Design System
Theme: Clean Medical Blue + Pink + White
Font: Inter / Poppins
*/

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

:root {
    --primary-blue: #0077b6;
    --secondary-pink: #d81b60;
    --accent-blue: #00b4d8;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

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

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

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

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

ul {
    list-style: none;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

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

.grid {
    display: grid;
    gap: 30px;
}

/* Header */
header {
    background: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo img {
    height: 60px;
}

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

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

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

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

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

.contact-btn-top {
    background: var(--primary-blue);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
}

.contact-btn-top:hover {
    background: var(--secondary-pink);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 120px 0;
    background: linear-gradient(135deg, rgba(0, 119, 182, 0.05) 0%, rgba(216, 27, 96, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--primary-blue);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 600px;
}

.btn-group {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
}

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

.btn-primary:hover {
    background: var(--secondary-pink);
    box-shadow: 0 10px 20px rgba(216, 27, 96, 0.2);
}

.btn-outline {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
}

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

/* Feature Grid */
.features {
    background: var(--white);
}

.feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.feature-item {
    text-align: center;
    padding: 30px;
    border-radius: 15px;
    transition: var(--transition);
}

.feature-item:hover {
    background: var(--bg-light);
    transform: translateY(-10px);
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--secondary-pink);
    margin-bottom: 15px;
    display: block;
}

/* Product Cards */
.products-section {
    background: var(--bg-light);
}

.product-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin-top: 50px;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: scale(1.03);
}

.product-img {
    height: 250px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-info {
    padding: 25px;
}

.product-info h3 {
    margin-bottom: 10px;
    color: var(--primary-blue);
}

/* Footer */
footer {
    background: #1a1a1a;
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    margin-bottom: 50px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 20px;
}

footer h4 {
    margin-bottom: 25px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary-pink);
}

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

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

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    padding: 15px 25px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1001;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.05);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Responsive */
@media (max-width: 768px) {
    .flex {
        flex-direction: column;
        text-align: center;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .nav-links {
        display: none;
    }
    .btn-group {
        justify-content: center;
    }
}
