/**
 * YYY Pharmacy Custom Styles
 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');


 :root {
    --primary: #0D7C7C;
    --primary-light: #1A9999;
    --primary-dark: #065858;
    --accent: #FF8A5B;
    --accent-light: #FFB088;
    --navy: #1A2B3D;
    --gray-900: #1F2937;
    --gray-700: #374151;
    --gray-600: #4B5563;
    --gray-500: #6B7280;
    --gray-400: #9CA3AF;
    --gray-300: #D1D5DB;
    --gray-200: #E5E7EB;
    --gray-100: #F3F4F6;
    --gray-50: #F9FAFB;
    --white: #FFFFFF;
    --success: #10B981;
}

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

/* Smooth scrolling 
html {
    scroll-behavior: smooth;
}*/

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
}

.skip-link:focus {
    top: 0;
}

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

p {
    margin-top: 0;
}

header {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-top {
    background: var(--gray-50);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.header-top-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.header-contact {
    display: flex;
    gap: 2rem;
    color: var(--gray-700);
}

.header-contact a {
    color: var(--gray-700);
    text-decoration: none;
    transition: color 0.3s;
}

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

.header-badges {
    display: flex;
    gap: 1.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
}

.header-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo svg {
    height: 50px;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav a {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.3s;
}

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


header .wp-block-button a {
    background: var(--primary);
    color: white;
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

header .wp-block-button a:hover {
    background: var(--primary-light) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(13, 124, 124, 0.3);
}

/* Site header sticky behavior */
.site-header {/*
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);*/
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
    align-items: center;
}

/* Button hover effects */
.wp-block-button__link {
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.wp-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

/* Card hover effects */
.services .wp-block-column {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services .wp-block-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Link styles */
a {
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    text-decoration: none;
}

/* Navigation menu */
.wp-block-navigation__responsive-container.is-menu-open {
    padding: 2rem;
}

.wp-block-navigation-item a {
    padding: 0.5rem 0;
}

/* Hero section adjustments */
.wp-block-cover__inner-container {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    color: white;
    padding: 6rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 138, 91, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero > div {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.hero-button-primary,
.hero .wp-block-button .has-primary-color {
    background: var(--accent) !important;
    color: white !important;
    padding: 1.125rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.0625rem;
    transition: all 0.3s;
    display: inline-block;
}

.hero-button-primary:hover,
.hero .wp-block-button .has-primary-color:hover {
    background: var(--accent-light) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 138, 91, 0.4);
}

.hero-button-secondary,
.hero .wp-block-button.is-style-outline .has-background {
    background: rgba(255,255,255,0.15) !important;
    color: white !important;
    padding: 1.125rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.0625rem;
    transition: all 0.3s;
    display: inline-block;
    backdrop-filter: blur(10px);
}

.hero-button-secondary:hover,
.hero .wp-block-button.is-style-outline .has-background:hover {
    background: rgba(255,255,255,0.25) !important;
}

/* Trust Badges */
.trust-badges {
    background: white;
    padding: 3rem 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.trust-badges-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.badge {
    text-align: center;
    padding: 1.5rem;
    border-radius: 12px;
    background: var(--gray-50);
    min-width: 200px;
}

.badge .badge-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.badge .badge-title {
    font-weight: 700;
    color: var(--navy);
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
}

.badge p {
    font-size: 0.8125rem;
    color: var(--gray-600);
    margin: 0;
}

/* Services Section */
.services {
    padding: 6rem 1.5rem;
    background: var(--gray-50);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: manypx;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(13, 124, 124, 0.15);
}

.service-icon,
.service-card p img {
    width: 60px !important;
    height: 60px !important;
    background: linear-gradient(135deg, var(--primary), var(--primary-light)) !important;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    padding: 16px !important;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-features,
.service-card ul {
    list-style: none;
    margin-top: 1.5rem;
}

.service-features li,
.service-card ul li {
    padding: 0.5rem 0;
    color: var(--gray-700);
    position: relative;
    padding-left: 1.75rem;
}

.service-features li::before,
.service-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

/* About Section */
.about {
    padding: 6rem 1.5rem;
    background: white;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.about-text p {
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.0625rem;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.value {
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: 12px;
    border-left: 4px solid var(--primary) !important;
}

.value h4 {
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.value p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    margin: 0;
}

/* Testimonials */
.testimonials {
    padding: 6rem 1.5rem;
    background: var(--gray-50);
}

.testimonials-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial {
    background: white;
    padding: 2.5rem;
    border-radius: manypx;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.testimonial-stars {
    color: var(--accent);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-info h5 {
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.author-info p {
    font-size: 0.875rem;
    margin-top: 0;
    color: var(--gray-600);
}

/* Contact Section */
.contact {
    padding: 6rem 1.5rem;
    background: white;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form {
    background: var(--gray-50);
    padding: 3rem;
    border-radius: manypx;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-300) !important;
    border-radius: 8px  !important;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    background: var(--primary);
    color: white;
    padding: 1.125rem 2.5rem;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.0625rem;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.submit-button:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(13, 124, 124, 0.3);
}

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

.contact-info p {
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.0625rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: start;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: 12px;
}

.contact-method-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-method-content h4 {
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.contact-method-content p {
    color: var(--gray-600);
    margin: 0;
    font-size: 0.9375rem;
}

.contact-method-content a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.contact-method-content a:hover {
    text-decoration: underline;
}

/* Emergency Banner */
.emergency-banner {
    background: var(--accent);
    color: white;
    padding: 1rem 1.5rem;
    text-align: center;
    font-weight: 600;
}

.emergency-banner a {
    color: white;
    text-decoration: underline;
    margin-left: 1rem;
}

/* Footer links */
footer a {
    color: #f3f4f6;
}

footer a:hover {
    color: #ffffff;
}

/* Footer */
.footer {
    max-width: 100%;
    background: var(--navy);
    color: white;
    padding: 4rem 1.5rem 2rem;
}

.license {
    opacity: 0.7;
    font-size: 0.875rem;
}

.footer .wp-block-columns {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-about h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-about p {
    opacity: 0.9;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-links h4 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-links ul,
footer ul {
    list-style: none;
}

.footer-links li,
footer li {
    margin-bottom: 0.75rem;
}

.footer-links a,
footer a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.footer-links a:hover,
footer a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    opacity: 0.8;
    font-size: 0.875rem;
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 50;
}

.sticky-cta-button {
    background: var(--accent);
    color: white;
    padding: 1.125rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(255, 138, 91, 0.4);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s;
}

.sticky-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 138, 91, 0.5);
}

/* Responsive */
@media (max-width: 968px) {
    .hero-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

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

    nav ul {
        gap: 1.5rem;
    }

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

    .section-title {
        font-size: 2rem;
    }
}


/* Responsive font sizing */
@media (max-width: 768px) {
    h1, .wp-block-heading {
        font-size: 2rem !important;
    }
    
    h2, .wp-block-heading {
        font-size: 1.75rem !important;
    }
    
    h3, .wp-block-heading {
        font-size: 1.5rem !important;
    }

    /* Mobile column stacking */
    .wp-block-columns {
        flex-direction: column;
    }
    
    .wp-block-column {
        flex-basis: 100% !important;
        margin-left: 0 !important;
    }
    .footer .wp-block-columns {
    	display: block !important;
    }
    .footer .wp-block-column {
        margin-bottom:30px;
    }
}

@media (max-width: 640px) {
    .header-contact,
    .header-badges {
        flex-direction: column;
        gap: 0.5rem;
    }

    footer > div  {
        grid-template-columns: 1fr;
    }
    
    header .wp-block-buttons {
        box-sizing: border-box;
        position: absolute;
        right: 68px;
    }
    header .wp-block-button a {
        padding: 0.575rem 1rem;
    }
}


/* List styling for footer */
.is-style-no-bullets {
    list-style: none;
    padding-left: 0;
}

.is-style-no-bullets li {
    padding: 0.25rem 0;
}

/* Accessibility improvements */
.wp-block-navigation__responsive-container-open:focus,
.wp-block-navigation__responsive-container-close:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .site-header,
    footer,
    .wp-block-button {
        display: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .wp-block-button__link {
        border: 2px solid currentColor;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Image optimization */
img {
    height: auto;
    max-width: 100%;
}

/* Form styling */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

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

/* Utility classes */
.text-center {
    text-align: center;
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* Container max-width adjustments */
.wp-block-group.alignwide {
    max-width: 1200px;
}

.wp-block-group.alignfull {
    max-width: 100%;
}