/* 
   Donom Bonitas Pharmacy - Modern Stylesheet
   Colors derived from logo:
   Navy: #2B2D83
   Orange: #F7941D
   Green: #8BC53F
   Red: #DE2027
   Gray: #6D6E71
*/

:root {
    --primary-color: #2B2D83;
    --primary-light: #4c4fad;
    --secondary-color: #8BC53F;
    --accent-orange: #F7941D;
    --accent-red: #DE2027;
    --text-dark: #1E293B;
    --text-gray: #64748B;
    --bg-light: #F8FAFC;
    --white: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.8);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.1);
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    background-image: radial-gradient(var(--secondary-color) 0.5px, transparent 0.5px);
    background-size: 30px 30px;
    background-attachment: fixed;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-primary-color {
    color: var(--primary-color);
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(43, 45, 131, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(43, 45, 131, 0.4);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(139, 197, 63, 0.3);
}

.btn-secondary:hover {
    filter: brightness(1.1);
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-block {
    display: block;
    width: 100%;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(43, 45, 131, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.sub-title {
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* Navbar */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

#navbar.scrolled {
    background: var(--glass);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow);
}

#navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links li a {
    font-weight: 600;
    color: var(--text-dark);
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.nav-links li a.active {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 150px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 197, 63, 0.1) 0%, transparent 70%);
    z-index: -1;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.image-wrapper img {
    width: 100%;
    display: block;
    transition: var(--transition);
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

.floating-card {
    position: absolute;
    bottom: 30px;
    left: -20px;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    animation: float 3s ease-in-out infinite;
}

.floating-card i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.floating-card span {
    font-weight: 700;
    font-size: 1.1rem;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-down i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* Why Choose Us & Process */
.why-choose-us {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.feature-item-inline {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.fi-icon {
    width: 50px;
    height: 50px;
    background: rgba(139, 197, 63, 0.1);
    color: var(--secondary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.fi-text h4 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: var(--primary-color);
}

.fi-text p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.process {
    background-color: var(--bg-light);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.process-card {
    background: var(--white);
    padding: 3.5rem 2rem 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.process-card .step-num {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    border: 4px solid var(--bg-light);
}

.process-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.process-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.process-card p {
    color: var(--text-gray);
}

/* Services */
.services {
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-light);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    background: var(--white);
    border-color: rgba(139, 197, 63, 0.2);
    box-shadow: var(--shadow-hover);
    transform: translateY(-10px);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(43, 45, 131, 0.1);
    color: var(--primary-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary-color);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-gray);
}

/* About Section */
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.experience-badge {
    position: absolute;
    top: -30px;
    right: -30px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 2rem;
    border-radius: 50% 50% 50% 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 30px rgba(139, 197, 63, 0.3);
}

.experience-badge .years {
    font-size: 2.5rem;
    font-weight: 800;
}

.experience-badge .text {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.about-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-content .lead {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.about-features {
    margin: 2rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
}

.about-features i {
    color: var(--secondary-color);
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(43, 45, 131, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-text h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.info-text p {
    color: var(--text-gray);
}

.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    border: 1px solid #E2E8F0;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(43, 45, 131, 0.1);
}

/* Footer */
footer {
    background-color: #0F172A;
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 4rem;
    margin-bottom: 60px;
}

#footer-logo {
    height: 70px;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

.footer-about p {
    opacity: 0.7;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-grid h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul li,
.footer-services ul li {
    margin-bottom: 1rem;
}

.footer-links ul li a,
.footer-services ul li a {
    opacity: 0.7;
}

.footer-links ul li a:hover,
.footer-services ul li a:hover {
    opacity: 1;
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.footer-contact i {
    color: var(--secondary-color);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero .container,
    .about-wrapper,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-image,
    .about-image {
        order: -1;
        max-width: 600px;
        margin: 0 auto;
    }

    .hero-content {
        text-align: center;
    }

    .hero-buttons,
    .hero-stats {
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    #navbar {
        padding: 1rem 0;
        background: var(--white);
    }

    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 1000;
        position: relative;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .about-content h2 {
        font-size: 2.2rem;
    }

    .cta-content h2 {
        font-size: 2.2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .about-features {
        grid-template-columns: 1fr;
    }
}