/* Adkvedaa Pharmaceuticals - Custom Styles */

:root {
    --primary: #1F5E3B;
    --secondary: #1B3A5C;
    --accent: #C9A227;
    --bg-light: #F6F8F5;
    --text-dark: #333;
    --border-color: #ddd;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary);
    color: white;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.btn-primary:hover {
    background-color: #164b2d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(31, 94, 59, 0.3);
}

.btn-secondary {
    background-color: var(--accent);
    color: white;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.btn-secondary:hover {
    background-color: #b39216;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 162, 39, 0.3);
}

/* Cards */
.card {
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background-color: white;
}

.card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Forms */
.form-input {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px;
    width: 100%;
    margin: 8px 0 16px 0;
    font-family: inherit;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(31, 94, 59, 0.1);
}

.form-input::placeholder {
    color: #999;
}

textarea.form-input {
    resize: vertical;
    min-height: 100px;
}

/* Hero Section */
.hero {
    min-height: 500px;
    background: linear-gradient(135deg, rgba(31, 94, 59, 0.85), rgba(27, 58, 92, 0.85)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><linearGradient id="grad1" x1="0%25" y1="0%25" x2="100%25" y2="100%25"><stop offset="0%25" style="stop-color:%231F5E3B;stop-opacity:0.1" /><stop offset="100%25" style="stop-color:%231B3A5C;stop-opacity:0.1" /></linearGradient></defs><rect width="1200" height="600" fill="url(%23grad1)"/></svg>');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Alternate Backgrounds */
.alternate-bg {
    background-color: var(--bg-light);
}

/* WhatsApp Button */
.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-decoration: none;
    animation: float 3s ease-in-out infinite;
}

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

.whatsapp-btn:hover {
    animation: none;
}

/* Sticky Header */
header {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

header a {
    text-decoration: none;
    transition: color 0.3s ease;
    color: var(--text-dark);
}

header a:hover {
    color: var(--primary);
}

/* Footer */
footer {
    margin-top: 5rem;
}

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

footer a:hover {
    color: white !important;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    header nav {
        justify-content: space-between;
    }

    .hidden {
        display: none;
    }

    .md\:flex {
        display: flex;
    }

    .md\:grid-cols-2 {
        grid-template-columns: 1fr;
    }

    .md\:grid-cols-3 {
        grid-template-columns: 1fr;
    }

    .md\:grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .md\:order-2 {
        order: 2;
    }
}

@media (max-width: 480px) {
    body {
        padding: 0;
    }

    .hero {
        min-height: 350px;
    }

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

    .hero p {
        font-size: 0.9rem;
    }

    header nav {
        flex-direction: column;
        gap: 0.5rem;
    }

    header .text-2xl {
        font-size: 1.5rem;
    }

    footer .grid {
        grid-template-columns: 1fr;
    }
}

/* Accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Loading and Transitions */
* {
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

button, a {
    transition: all 0.3s ease;
}

/* Print Styles */
@media print {
    header, footer, .whatsapp-btn, #cookieBanner {
        display: none;
    }

    body {
        background: white;
        color: black;
    }
}
