/* =============================================
   FARMALYSIA Homepage Styles - Figma Design Match
   ============================================= */

/* Hero Section with Glass Effect */
.hero-section {
    position: relative;
    height: 90vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    padding: 60px 0;
}

.glass-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 42px;
    padding: 80px 60px;
    max-width: 650px;
    text-align: center;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.1);
    color: white;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

/* CTA Buttons */
.cta-button {
    display: inline-block;
    background-color: white;
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: var(--pill-radius);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: var(--primary-color);
    text-decoration: none;
}

.cta-button.large {
    padding: 18px 50px;
    font-size: 1.3rem;
}

.cta-button.primary {
    background-color: var(--primary-color);
    color: white;
}

.cta-button.primary:hover {
    background-color: var(--primary-hover);
    color: white;
}

.cta-button.outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 3px solid var(--primary-color);
}

.cta-button.outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--primary-color);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-dark);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.4;
    letter-spacing: -0.005em;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background-color: white;
}

/* Homepage Search Container */
.homepage-search-container {
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.search-box-wrapper {
    position: relative;
    width: 100%;
}

.homepage-search-input {
    width: 100%;
    padding: 18px 55px 18px 25px;
    border: 2px solid var(--primary-color);
    border-radius: var(--pill-radius);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: var(--text-dark);
    background-color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(115, 39, 83, 0.1);
}

.homepage-search-input::placeholder {
    color: rgba(115, 39, 83, 0.5);
}

.homepage-search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 6px 25px rgba(115, 39, 83, 0.2);
}

.search-box-wrapper .search-icon {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1.2rem;
    pointer-events: none;
}

/* Category Pills */
.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
    justify-content: center;
}

.category-pill {
    background-color: white;
    border: 1px solid var(--primary-color);
    border-radius: var(--pill-radius);
    padding: 12px 24px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--primary-color);
}

.category-pill.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.category-pill:hover:not(.active) {
    background-color: var(--primary-light);
}

/* Filter Section */
.filter-section {
    background-color: white;
    border-radius: var(--card-radius);
    padding: 20px 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.search-box {
    position: relative;
    flex: 2;
    min-width: 300px;
}

.search-box input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 1px solid var(--primary-color);
    border-radius: var(--pill-radius);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.search-box input::placeholder {
    color: rgba(115, 39, 83, 0.5);
}

.search-box i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    opacity: 0.5;
}

/* Service Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

.service-card {
    background-color: var(--primary-light);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.service-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card .card {
    border: none;
    background: transparent;
    height: 100%;
}

.service-card-image {
    height: 200px;
    overflow: hidden;
    position: relative;
    border-radius: var(--card-radius) var(--card-radius) 0 0;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-card-image img {
    transform: scale(1.05);
}

.service-card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(115, 39, 83, 0.4) 100%);
    border-radius: var(--card-radius) var(--card-radius) 0 0;
}

.service-card .badge-primary {
    background-color: var(--primary-color);
    border: none;
    border-radius: var(--card-radius);
    padding: 8px 14px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
}

.service-card .card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.service-card .card-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.service-card .font-weight-bold {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: var(--primary-color);
}

.service-card .booking-button {
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--button-radius);
    padding: 12px 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
}

.service-card .booking-button:hover {
    background-color: var(--primary-hover);
}

/* Info Block Section */
.info-block-section {
    padding: 100px 0;
    background-color: white;
}

.info-block-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.info-block-text {
    padding: 20px 0;
}

.info-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.info-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.info-point {
    margin-bottom: 1.5rem;
}

.info-point h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.info-point p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    line-height: 1.4;
    color: var(--text-dark);
}

.info-block-image {
    background-color: #243b4a;
    border-radius: var(--card-radius);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.info-block-image .info-illustration {
    display: block;
    width: 100%;
    max-width: 320px;
    height: auto;
    margin: 0 auto 20px auto;
    flex-shrink: 0;
}

.info-block-image::before {
    display: none;
}

.info-image-text {
    position: relative;
    z-index: 2;
    color: white;
    margin-top: auto;
    width: 100%;
    text-align: left;
}

.info-image-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
   
    
    margin-bottom: 15px;
    color: white;
}

.info-image-arrow {
    font-size: 1.5rem;
    color: white;
    display: block;
    text-align: right;
}

/* How It Works Section */
.how-it-works-section {
    padding: 80px 0;
    background-color: var(--primary-light);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.step-item {
    background-color: white;
    border-radius: var(--card-radius);
    padding: 50px 30px;
    text-align: center;
    position: relative;
}

.step-number {
    display: none;
}

.step-icon {
    width: 95px;
    height: 95px;
    background-color: var(--primary-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2.5rem;
    transition: all 0.3s ease;
}

.step-icon i {
    font-size: 2.5rem;
    color: white;
}

.step-item:hover .step-icon {
    transform: scale(1.05);
}

.step-item h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.step-item p {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
    line-height: 1.4;
    font-size: 1rem;
}

.step-item .step-note {
    margin-top: 15px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.section-cta {
    text-align: center;
    margin-top: 50px;
}

/* Why FARMALYSIA Section */
.why-farmalysia-section {
    padding: 80px 0 0;
    background-color: white;
}

.farmalysia-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
    margin-top: 40px;
}

.farmalysia-slider .slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.farmalysia-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.farmalysia-slider .slide.active {
    opacity: 1;
}

.farmalysia-slider .slide-background {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.farmalysia-slider .slide-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0 2rem;
}

.farmalysia-slider .glass-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--card-radius);
    padding: 50px;
    max-width: 600px;
    text-align: center;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15);
    color: white;
}

.farmalysia-slider .slide-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.farmalysia-slider .slide-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.3;
    opacity: 0.95;
}

.farmalysia-slider .slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.farmalysia-slider .nav-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.farmalysia-slider .nav-dot.active {
    background-color: white;
    transform: scale(1.2);
}

.farmalysia-slider .slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.farmalysia-slider .slider-arrow:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.farmalysia-slider .slider-arrow.prev {
    left: 30px;
}

.farmalysia-slider .slider-arrow.next {
    right: 30px;
}

/* Pharmacy Network Section */
.pharmacy-network-section {
    padding: 80px 0;
    background-color: var(--primary-light);
}

.network-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 50px 0;
}

.stat-item {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--text-dark);
    border-radius: var(--card-radius);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    color: white;
    margin-bottom: 10px;
    display: block;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.stat-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    line-height: 1.1;
}

.pharmacy-locator-widget {
    background-color: var(--background-cream);
    padding: 50px;
    border-radius: 40px;
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.pharmacy-locator-widget h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.1;
    flex-shrink: 0;
}

.locator-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
    max-width: 500px;
}

.location-input {
    width: 100%;
    padding: 15px 25px;
    border: 1px solid var(--primary-color);
    border-radius: var(--button-radius);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: var(--text-dark);
    transition: border-color 0.3s ease;
}

.location-input::placeholder {
    color: rgba(35, 31, 32, 0.5);
}

.location-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.search-pharmacy-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: var(--button-radius);
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.search-pharmacy-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background-color: white;
}

.testimonials-slider {
    margin-top: 40px;
    position: relative;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-container {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.testimonial {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial.active {
    opacity: 1;
}

.testimonial-content {
    background-color: #f8f9fa;
    padding: 50px;
    border-radius: var(--card-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    max-width: 650px;
    position: relative;
    border-left: 5px solid var(--primary-color);
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.testimonial-text p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--text-dark);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.author-avatar {
    width: 55px;
    height: 55px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 15px;
    font-size: 1.3rem;
}

.author-info h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.author-info span {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 500;
}

.testimonial-rating {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.testimonial-rating i {
    color: #ffc107;
    font-size: 1.1rem;
}

.testimonials-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.testimonial-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #ddd;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="1" fill="white" opacity="0.1"/><circle cx="10" cy="90" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

.cta-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.95;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* No Results Message */
.no-results {
    text-align: center;
    padding: 60px 0;
    color: var(--text-light);
}

.no-results i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--primary-light);
}

.no-results h3 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 10px;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Pagination */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    padding: 20px 0;
}

.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 2px solid var(--primary-color);
    background-color: white;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--primary-color);
    font-size: 1rem;
}

.pagination-btn:hover:not(:disabled) {
    background-color: var(--primary-color);
    color: white;
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    border-color: #ccc;
    color: #ccc;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    border: 2px solid var(--primary-color);
    background-color: white;
    border-radius: var(--pill-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.page-number:hover {
    background-color: var(--primary-light);
}

.page-number.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination-ellipsis {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: var(--primary-color);
    padding: 0 5px;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.nav-dot.active {
    background-color: white;
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
}

.slider-arrow:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.fade-in:nth-child(2) {
    transition-delay: 0.2s;
}

.fade-in:nth-child(3) {
    transition-delay: 0.4s;
}

.fade-in:nth-child(4) {
    transition-delay: 0.6s;
}

/* Focus States for Accessibility */
.cta-button:focus,
.nav-dot:focus,
.testimonial-dot:focus,
.slider-arrow:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

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

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

/* =============================================
   Responsive Styles
   ============================================= */

@media (max-width: 1200px) {
    .network-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-number {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .info-block-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .info-block-text {
        text-align: center;
    }
    
    .info-title {
        font-size: 2.8rem;
    }
    
    .glass-box {
        padding: 50px 40px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2.8rem;
    }
    
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .step-item {
        padding: 40px 20px;
    }
    
    .pharmacy-locator-widget {
        flex-direction: column;
        text-align: center;
    }
    
    .locator-form {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 80vh;
        min-height: 500px;
    }
    
    .glass-box {
        padding: 40px 30px;
        margin: 0 20px;
        border-radius: 30px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1.2rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .step-item {
        padding: 35px 25px;
    }
    
    .step-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
        border-radius: 16px;
    }
    
    .step-icon i {
        font-size: 2rem;
    }
    
    .network-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-item {
        padding: 30px 15px;
    }
    
    .stat-number {
        font-size: 2.8rem;
    }
    
    .stat-label {
        font-size: 1.1rem;
    }
    
    .info-title {
        font-size: 2.2rem;
    }
    
    .info-subtitle {
        font-size: 1.1rem;
    }
    
    .info-block-image {
        min-height: 420px;
        padding: 25px;
    }
    
    .info-block-image .info-illustration {
        max-width: 260px;
    }
    
    .info-image-title {
        font-size: 1.6rem;
    }
    
    .farmalysia-slider {
        height: 400px;
    }
    
    .farmalysia-slider .slide-title {
        font-size: 2rem;
    }
    
    .farmalysia-slider .slide-description {
        font-size: 1.1rem;
    }
    
    .farmalysia-slider .glass-box {
        padding: 35px 25px;
        margin: 0 15px;
    }
    
    .testimonial-content {
        padding: 40px 25px;
        margin: 0 15px;
    }
    
    .cta-content h2 {
        font-size: 2.2rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
    }
    
    .category-pills {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 10px;
    }
    
    .category-pill {
        flex-shrink: 0;
    }
    
    /* Pagination Responsive */
    .pagination-container {
        gap: 8px;
        margin-top: 30px;
    }
    
    .pagination-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .page-number {
        min-width: 40px;
        height: 40px;
        padding: 0 10px;
        font-size: 0.9rem;
    }
    
    .pagination-numbers {
        gap: 6px;
    }
    
    .pharmacy-locator-widget {
        padding: 35px 25px;
    }
    
    .pharmacy-locator-widget h3 {
        font-size: 1.8rem;
    }
    
    /* Homepage Search Responsive */
    .homepage-search-container {
        margin: 0 auto 30px auto;
    }
    
    .homepage-search-input {
        padding: 14px 45px 14px 18px;
        font-size: 1rem;
    }
    
    .search-box-wrapper .search-icon {
        right: 18px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 70vh;
        min-height: 450px;
    }
    
    .glass-box {
        padding: 35px 25px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .network-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        padding: 25px 20px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .info-title {
        font-size: 1.8rem;
    }
    
    .info-point h4 {
        font-size: 1.2rem;
    }
    
    .info-point p {
        font-size: 1rem;
    }
    
    .farmalysia-slider {
        height: 350px;
    }
    
    .farmalysia-slider .slide-title {
        font-size: 1.6rem;
    }
    
    .farmalysia-slider .slide-description {
        font-size: 1rem;
    }
    
    .testimonial-container {
        height: 380px;
    }
    
    .testimonial-content::before {
        font-size: 3rem;
        top: -5px;
    }
    
    .testimonial-text p {
        font-size: 1rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    /* Homepage Search Responsive - Small Mobile */
    .homepage-search-container {
        margin: 0 auto 25px auto;
    }
    
    .homepage-search-input {
        padding: 12px 40px 12px 15px;
        font-size: 0.9rem;
    }
    
    .search-box-wrapper .search-icon {
        right: 15px;
        font-size: 0.9rem;
    }
    
    /* Pagination Responsive - Small Mobile */
    .pagination-container {
        gap: 6px;
        margin-top: 25px;
        flex-wrap: wrap;
    }
    
    .pagination-btn {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
    
    .page-number {
        min-width: 36px;
        height: 36px;
        padding: 0 8px;
        font-size: 0.85rem;
    }
    
    .pagination-numbers {
        gap: 4px;
    }
    
    .pagination-ellipsis {
        font-size: 0.85rem;
        padding: 0 3px;
    }
}

/* =============================================
   Become Partner Section
   ============================================= */

.become-partner-section {
    padding: 80px 0;
    background-color: white;
}

.partner-content {
    background-color: #243b4a;
    border-radius: 30px;
    padding: 60px 40px;
    max-width: 900px;
    margin: 0 auto;
}

.partner-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
}

.partner-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    line-height: 1.5;
}

.partner-content .cta-button {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 15px 40px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.partner-content .cta-button:hover {
    background-color: white;
    color: #243b4a;
}

/* Partner Contact Modal Styles */
#partnerModal .modal-backdrop,
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.6);
}

#partnerModal.modal {
    background-color: rgba(0, 0, 0, 0.5);
}

.partner-modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.partner-modal-content .modal-header {
    background-color: var(--primary-color);
    color: white;
    border-bottom: none;
    padding: 25px 30px;
}

.partner-modal-content .modal-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
}

.partner-modal-content .modal-header .close {
    color: white;
    opacity: 0.8;
    font-size: 1.5rem;
    text-shadow: none;
}

.partner-modal-content .modal-header .close:hover {
    opacity: 1;
}

.partner-modal-content .modal-body {
    padding: 30px;
}

.partner-modal-content .modal-subtitle {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    margin-bottom: 25px;
    font-size: 1rem;
}

.partner-modal-content .form-group {
    margin-bottom: 20px;
}

.partner-modal-content .form-group label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    display: block;
}

.partner-modal-content .form-control {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 12px 15px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.partner-modal-content .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(115, 39, 83, 0.1);
    outline: none;
}

.partner-modal-content .form-control::placeholder {
    color: #aaa;
}

.partner-modal-content textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.partner-modal-content .form-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-left: 0;
    margin-top: 10px;
    margin-bottom: 10px;
}

.partner-modal-content .form-check-input {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin: 0;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.partner-modal-content .form-check-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: var(--text-dark);
    cursor: pointer;
    line-height: 1.5;
    margin: 0;
}

.partner-modal-content .form-check-label a {
    color: var(--primary-color);
    text-decoration: underline;
}

.partner-modal-content .form-check-label a:hover {
    color: var(--primary-hover);
}

.partner-submit-btn {
    background-color: var(--primary-color);
    border: none;
    border-radius: 10px;
    padding: 15px 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.partner-submit-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.partner-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.partner-modal-content .alert {
    margin-top: 15px;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
}

/* Become Partner Section Responsive */
@media (max-width: 768px) {
    .become-partner-section {
        padding: 60px 0;
    }
    
    .partner-content {
        padding: 40px 25px;
        border-radius: 20px;
    }
    
    .partner-content h2 {
        font-size: 1.8rem;
    }
    
    .partner-content p {
        font-size: 1.1rem;
    }
    
    .partner-content .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .partner-modal-content .modal-header {
        padding: 20px 25px;
    }
    
    .partner-modal-content .modal-body {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .partner-content {
        padding: 30px 20px;
    }
    
    .partner-content h2 {
        font-size: 1.5rem;
    }
    
    .partner-content p {
        font-size: 1rem;
    }
}
