/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: #666;
}

.contact-link {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.contact-link:hover {
    color: #4CAF50;
    border-bottom-color: #4CAF50;
    text-decoration: none;
}



/* Logo Styling */
.logo-image {
    height: 80px;
    width: auto;
    margin-right: 10px;
    vertical-align: middle;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo span {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
}

/* Responsive Logo */
@media (max-width: 768px) {
    .logo-image {
        height: 35px;
    }
    
    .nav-logo span {
        font-size: 1.3rem;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #45a049, #4CAF50);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.btn-secondary {
    background: #f8f9fa;
    color: #333;
    border: 2px solid #e9ecef;
}

.btn-secondary:hover {
    background: #e9ecef;
    border-color: #dee2e6;
}

/* Enhanced Hamburger Menu Styles */
.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        z-index: 1000;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 0.5rem 0;
    }
}

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-logo i {
    color: #4CAF50;
    margin-right: 10px;
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #4CAF50;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #4CAF50;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 3rem;
    color: #333;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero-description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Featured Products */
.featured-products {
    padding: 80px 0;
    position: relative;
}

/* Section Separator */
.section-separator {
    height: 2px;
    background: linear-gradient(90deg, transparent, #4CAF50, transparent);
    margin: 40px 0;
    position: relative;
}

.section-separator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #4CAF50;
    border-radius: 50%;
    box-shadow: 0 0 0 4px #f8f9fa, 0 0 0 6px #4CAF50;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    color: #333;
    margin-bottom: 1rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Fix for fewer products - maintain consistent card size */
.products-grid.few-products {
    grid-template-columns: repeat(auto-fit, minmax(280px, 300px));
    justify-content: left;
}

/* Alternative approach for better browser support */
.products-grid .product-card {
    max-width: 400px;
    margin: 0 auto;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.product-image {
    width: 100%;
    height: 0;
    padding-bottom: 80%; /* 80% of card height for image */
    position: relative;
    overflow: hidden;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-info {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.product-type {
    color: #4CAF50;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.product-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.product-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.product-info .product-type {
    color: #4CAF50;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.product-details {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #e9ecef;
}

.product-dosage,
.product-price {
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
    color: #555;
}

.product-dosage strong,
.product-price strong {
    color: #333;
    font-weight: 600;
}

.product-price {
    color: #4CAF50;
    font-weight: 600;
}

/* Pack Size and Price Display */
.pack-size-price {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.pack-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 0.5rem;
    min-width: 80px;
    transition: all 0.3s ease;
}

.pack-item:hover {
    background: #e9ecef;
    border-color: #4CAF50;
}

.pack-size {
    font-size: 0.7rem;
    color: #666;
    font-weight: 500;
    margin-bottom: 0.25rem;
    text-align: center;
    line-height: 1.2;
}

.pack-price {
    font-size: 0.8rem;
    color: #4CAF50;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
}

.pack-size strong,
.pack-price strong {
    color: #333;
    font-weight: 600;
}

/* Responsive pack size display */
@media (max-width: 768px) {
    .pack-size-price {
        gap: 0.25rem;
    }
    
    .pack-item {
        min-width: 70px;
        padding: 0.4rem;
    }
    
    .pack-size {
        font-size: 0.65rem;
    }
    
    .pack-price {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .pack-size-price {
        justify-content: center;
    }
    
    .pack-item {
        min-width: 65px;
        padding: 0.3rem;
    }
    
    .pack-size {
        font-size: 0.6rem;
    }
    
    .pack-price {
        font-size: 0.7rem;
    }
}

.text-center {
    text-align: center;
}

/* Educational Section */
.educational {
    padding: 80px 0;
    background: #f8f9fa;
}

.edu-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.edu-text h2 {
    color: #333;
    margin-bottom: 1.5rem;
}

.benefits-list {
    list-style: none;
    margin-top: 1.5rem;
}

.benefits-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #666;
}

.benefits-list i {
    color: #4CAF50;
    margin-right: 10px;
    font-size: 1.2rem;
}

.edu-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Page Header */
.page-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
}

/* Products Section */
.products-section {
    padding: 60px 0;
}

.filter-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-group, .search-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 500;
    color: #333;
}

.filter-group select,
.search-group input {
    padding: 8px 12px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 0.9rem;
}

/* Custom Dropdown Styling */
.custom-dropdown {
    position: relative;
    width: 100%;
    min-width: 200px;
}

.dropdown-selected {
    padding: 8px 12px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    background: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.dropdown-selected:hover {
    border-color: #4CAF50;
}

.dropdown-selected i {
    transition: transform 0.3s ease;
    color: #666;
}

.dropdown-selected.active i {
    transform: rotate(180deg);
    color: #4CAF50;
}

.dropdown-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #e9ecef;
    border-top: none;
    border-radius: 0 0 6px 6px;
    max-height: 200px; /* Exactly 5 options visible */
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.dropdown-options.show {
    display: block;
}

.dropdown-option {
    padding: 10px 12px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f8f9fa;
}

.dropdown-option:last-child {
    border-bottom: none;
}

.dropdown-option:hover {
    background-color: #f8f9fa;
    color: #4CAF50;
}

.dropdown-option.selected {
    background-color: #4CAF50;
    color: white;
}

.dropdown-option.selected:hover {
    background-color: #45a049;
    color: white;
}

/* Custom scrollbar for dropdown options */
.dropdown-options::-webkit-scrollbar {
    width: 6px;
}

.dropdown-options::-webkit-scrollbar-track {
    background: #f8f9fa;
}

.dropdown-options::-webkit-scrollbar-thumb {
    background: #4CAF50;
    border-radius: 3px;
}

.dropdown-options::-webkit-scrollbar-thumb:hover {
    background: #45a049;
}

/* Firefox scrollbar styling */
.dropdown-options {
    scrollbar-width: thin;
    scrollbar-color: #4CAF50 #f8f9fa;
}

.search-group button {
    padding: 8px 12px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-left: 5px;
}

.search-group button:hover {
    background: #45a049;
}

.search-group button:last-child {
    background: #dc3545;
}

.search-group button:last-child:hover {
    background: #c82333;
}

/* Blog Section */
.blog-section {
    padding: 60px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 40px;
    margin-top: 20px;
    margin-bottom: 30px;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
}

.blog-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.blog-excerpt {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #999;
}

/* About Page */
.about-content {
    padding: 60px 0;
}

.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-section.reverse {
    direction: rtl;
}

.about-section.reverse .about-text {
    direction: ltr;
}

.about-text h2 {
    color: #333;
    margin-bottom: 1.5rem;
}

.mission-list {
    list-style: none;
    margin-top: 1rem;
}

.mission-list li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.mission-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.values-section {
    text-align: center;
    margin-bottom: 4rem;
}

.values-section h2 {
    color: #333;
    margin-bottom: 3rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.value-icon {
    font-size: 3rem;
    color: #4CAF50;
    margin-bottom: 1rem;
}

.value-card h3 {
    color: #333;
    margin-bottom: 1rem;
}

.team-section {
    text-align: center;
}

.team-section h2 {
    color: #333;
    margin-bottom: 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.team-member {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.member-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-title {
    color: #4CAF50;
    font-weight: 500;
    margin-bottom: 1rem;
}

/* Contact Page */
.contact-section {
    padding: 60px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-form h2,
.contact-info h2 {
    color: #333;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4CAF50;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.info-icon {
    font-size: 1.5rem;
    color: #4CAF50;
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.info-content h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.info-content p {
    color: #666;
    margin-bottom: 0.25rem;
}

.map-section {
    text-align: center;
}

.map-section h2 {
    color: #333;
    margin-bottom: 2rem;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Product Detail Page */
.product-detail {
    padding: 120px 0 60px;
}

.back-button {
    margin-bottom: 2rem;
}

.product-content {
    display: grid;
    /* grid-template-columns: 1fr 1fr; */
    gap: 4rem;
    margin-bottom: 4rem;
}

.product-images {
    position: relative;
}

.main-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-details h1 {
    color: #333;
    margin-bottom: 1.5rem;
}

.detail-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.detail-value {
    color: #666;
    line-height: 1.6;
}

.related-products h3 {
    color: #333;
    margin-bottom: 2rem;
}

/* Blog Detail Page */
.blog-detail {
    padding: 120px 0 60px;
}

.blog-content {
    margin-bottom: 4rem;
}

.blog-header {
    margin-bottom: 2rem;
}

.blog-meta-detail {
    display: flex;
    gap: 2rem;
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.blog-body {
    line-height: 1.8;
    color: #333;
}

.comments-section {
    margin-bottom: 4rem;
}

.comments-section h3 {
    color: #333;
    margin-bottom: 2rem;
}

.comment-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.comment-form h4 {
    color: #333;
    margin-bottom: 1.5rem;
}

.comments-list {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.comment-item {
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}

.comment-item:last-child {
    border-bottom: none;
}

.comment-author {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.comment-date {
    color: #999;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.comment-text {
    color: #666;
    line-height: 1.6;
}

.related-blogs h3 {
    color: #333;
    margin-bottom: 2rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.pagination button,
.pagination a {
    padding: 8px 12px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 500;
    min-width: 40px;
    text-align: center;
    cursor: pointer;
}

.pagination button:hover,
.pagination a:hover {
    background: #f8f9fa;
    border-color: #4CAF50;
    color: #4CAF50;
}

.pagination .active {
    text-align: center;
    padding: 8px 12px;
    color: #ffffff;
    font-weight: 650;
    border: 1px solid #4CAF50;
    border-radius: 4px;
    background: #4CAF50;
    text-align: center;
}

/* Pagination responsive design */
@media (max-width: 768px) {
    .pagination {
        gap: 3px;
        margin-top: 2rem;
    }
    
    .pagination button,
    .pagination a {
        padding: 6px 10px;
        min-width: 35px;
        font-size: 0.9rem;
    }
}

/* Quote Section */
.quote-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #e9ecef 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    margin: 60px 0;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.quote-section.revealed {
    transform: translateY(0);
    opacity: 1;
}

/* Parallax effect for revealed section */
.quote-section.revealed {
    will-change: transform;
}

.quote-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(76, 175, 80, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(76, 175, 80, 0.05) 0%, transparent 50%),
        linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    pointer-events: none;
}

.quote-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #4CAF50, transparent);
    border-radius: 2px;
}

.quote-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.8);
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateY(30px);
    opacity: 0;
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s;
}

.quote-section.revealed .quote-content {
    transform: translateY(0);
    opacity: 1;
}

.quote-portrait {
    flex-shrink: 0;
    width: 220px;
    height: 280px;
    position: relative;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border: 3px solid rgba(76, 175, 80, 0.1);
    transform: translateX(-50px) rotate(-5deg);
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s;
}

.quote-section.revealed .quote-portrait {
    transform: translateX(0) rotate(0deg);
    opacity: 1;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateX(0) rotate(0deg) translateY(0px);
    }
    50% {
        transform: translateX(0) rotate(0deg) translateY(-10px);
    }
}

.portrait-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    filter: grayscale(100%) contrast(1.1) sepia(0.1);
    transition: all 0.4s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.portrait-image:hover {
    filter: grayscale(70%) contrast(1.2) sepia(0.2);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.quote-text {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 20px;
    transform: translateX(50px);
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s;
}

.quote-section.revealed .quote-text {
    transform: translateX(0);
    opacity: 1;
}

.quote-marks {
    position: relative;
    margin-bottom: 3rem;
    transform: scale(0.8);
    opacity: 0;
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.8s;
}

.quote-section.revealed .quote-marks {
    transform: scale(1);
    opacity: 1;
}

.quote-mark {
    font-size: 5rem;
    font-weight: 300;
    color: #4CAF50;
    line-height: 1;
    font-family: 'Times New Roman', serif;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    opacity: 0.8;
}

.quote-mark-open {
    position: absolute;
    top: -30px;
    left: -40px;
}

.quote-mark-close {
    position: absolute;
    bottom: -50px;
    right: -40px;
}

.quote {
    font-size: 1.6rem;
    line-height: 1.7;
    color: #2c3e50;
    font-style: italic;
    margin: 0 0 3rem 0;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 2px rgba(0,0,0,0.05);
    position: relative;
}

.quote::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #4CAF50, transparent);
}

.quote-attribution {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(76, 175, 80, 0.2);
    position: relative;
    transform: translateY(30px);
    opacity: 0;
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1s;
}

.quote-section.revealed .quote-attribution {
    transform: translateY(0);
    opacity: 1;
}

.quote-attribution::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background: #4CAF50;
}

.author-name {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    font-style: normal;
    margin-bottom: 0.8rem;
    letter-spacing: 0.5px;
}

.author-dates {
    display: block;
    font-size: 1.1rem;
    color: #666;
    font-weight: 400;
    font-style: italic;
}

/* Quote Section Responsive Design */
@media (max-width: 768px) {
    .quote-section {
        padding: 80px 0;
        margin: 40px 0;
    }
    
    .quote-content {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
        padding: 40px 20px;
        margin: 0 20px;
    }
    
    .quote-portrait {
        width: 180px;
        height: 220px;
        padding: 15px;
        transform: translateY(-30px) scale(0.9);
    }
    
    .quote-section.revealed .quote-portrait {
        transform: translateY(0) scale(1);
    }
    
    .quote-text {
        transform: translateY(30px);
    }
    
    .quote-mark {
        font-size: 4rem;
    }
    
    .quote-mark-open {
        top: -25px;
        left: -30px;
    }
    
    .quote-mark-close {
        bottom: -40px;
        right: -30px;
    }
    
    .quote {
        font-size: 1.4rem;
        margin: 0 1rem 2.5rem 1rem;
    }
    
    .author-name {
        font-size: 1.2rem;
    }
    
    .author-dates {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .quote-section {
        padding: 60px 0;
        margin: 30px 0;
    }
    
    .quote-content {
        gap: 2rem;
        padding: 30px 15px;
        margin: 0 15px;
    }
    
    .quote-portrait {
        width: 150px;
        height: 180px;
        padding: 12px;
        transform: translateY(-20px) scale(0.8);
    }
    
    .quote-section.revealed .quote-portrait {
        transform: translateY(0) scale(1);
    }
    
    .quote-text {
        transform: translateY(20px);
    }
    
    .quote-mark {
        font-size: 3rem;
    }
    
    .quote-mark-open {
        top: -20px;
        left: -25px;
    }
    
    .quote-mark-close {
        bottom: -35px;
        right: -25px;
    }
    
    .quote {
        font-size: 1.2rem;
        margin: 0 0.5rem 2rem 0.5rem;
    }
    
    .author-name {
        font-size: 1.1rem;
    }
    
    .author-dates {
        font-size: 0.9rem;
    }
}

/* Prevent text cursor blinking on headings and text elements */
h1, h2, h3, h4, h5, h6, p, span, div, section, article, 
.edu-text, .edu-content, .section-header, .hero-title, 
.hero-description, .quote, .author-name, .author-dates,
.product-name, .product-type, .product-description {
    
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-touch-callout: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

/* Allow text selection only for specific content areas */
.benefits-list, .footer-content, .contact-info {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}

/* Ensure clickable elements show pointer cursor */
a, button, .btn, .nav-link, .product-card, .dropdown-selected, 
.dropdown-option, .page-number, .pagination button,
.search-group button, .clear-search-btn {
    cursor: pointer !important;
}

/* Text input fields should show text cursor */
input[type="text"], input[type="email"], input[type="password"], 
input[type="search"], textarea, select {
    cursor: text !important;
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}

/* Remove focus outline that might cause cursor issues */
h1:focus, h2:focus, h3:focus, h4:focus, h5:focus, h6:focus,
p:focus, span:focus, div:focus, section:focus {
    outline: none !important;
    cursor: default !important;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #bdc3c7;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #4CAF50;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #34495e;
    color: white;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #4CAF50;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.developer-credit {
    font-size: 0.8rem;
    opacity: 0.8;
}

.developer-credit a {
    color: #4CAF50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.developer-credit a:hover {
    color: #45a049;
    text-decoration: underline;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 1s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .edu-content,
    .about-section,
    .contact-content,
    .product-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-section.reverse {
        direction: ltr;
    }
    
    .filter-section {
        flex-direction: column;
        align-items: stretch;
    }
    
    /* Mobile dropdown adjustments */
    .custom-dropdown {
        min-width: 150px;
    }
    
    .dropdown-options {
        max-height: 150px; /* Smaller height on mobile */
    }
    
    .dropdown-option {
        padding: 8px 10px;
        font-size: 0.85rem;
    }
    
    .dropdown-selected {
        font-size: 0.85rem;
        padding: 6px 10px;
    }
    
    .products-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
}

/* Product Detail Page Styles */
.product-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-top: 2rem;
}

.product-image-section {
    position: sticky;
    top: 120px;
    justify-self: center;
}

.product-image-section img {
    
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-details-section h1 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.product-details-section .product-type {
    color: #4CAF50;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

.product-details-section h3 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.product-details-section p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.product-details-section > div {
    margin-bottom: 2rem;
}

.product-pack-price {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.product-pack-price h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Responsive Product Detail */
@media (max-width: 768px) {
    .product-detail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-image-section {
        position: static;
        justify-self: center;
    }
    
    .product-details-section h1 {
        font-size: 2rem;
    }
}

/* Contact Links Styling */
.contact-link {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.contact-link:hover {
    color: #4CAF50;
    border-bottom-color: #4CAF50;
    text-decoration: none;
}

/* Footer Contact Links */
.footer-section .contact-link {
    color: #bdc3c7;
}

.footer-section .contact-link:hover {
    color: #4CAF50;
}

/* Contact Page Contact Links */
.info-content .contact-link {
    color: #666;
    font-weight: 500;
}

.info-content .contact-link:hover {
    color: #4CAF50;
    text-decoration: none;
}

/* Responsive Contact Links */
@media (max-width: 768px) {
    .contact-link {
        font-size: 0.9rem;
    }
}

/* Upcoming Events Section */
.upcoming-events {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.upcoming-events::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="%234CAF50" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%234CAF50" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%234CAF50" opacity="0.05"/><circle cx="10" cy="60" r="0.5" fill="%234CAF50" opacity="0.05"/><circle cx="90" cy="40" r="0.5" fill="%234CAF50" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.events-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.events-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    position: relative;
}

.events-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #4CAF50, #45a049);
    border-radius: 2px;
}

.events-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
}

.events-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.event-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    border-left: 4px solid #4CAF50;
    transition: all 0.3s ease;
}

.event-detail:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.1);
}

.event-detail i {
    color: #4CAF50;
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.event-detail span {
    font-weight: 500;
    color: #2c3e50;
}

.events-video {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.events-video video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    background: #2c3e50;
    transition: none !important;
}

.events-video video:hover {
    transform: none !important;
    box-shadow: none !important;
}

.events-video video::-webkit-media-controls-panel {
    background: rgba(0, 0, 0, 0.8);
}

.events-video video::-webkit-media-controls-play-button {
    background: #4CAF50;
    border-radius: 50%;
}

/* Remove all hover effects from video controls */
.events-video video::-webkit-media-controls-play-button:hover {
    background: #4CAF50 !important;
    transform: none !important;
}

.events-video video::-webkit-media-controls-overlay-play-button {
    display: none !important;
}

.events-video video::-webkit-media-controls-start-playback-button {
    display: none !important;
}

/* Responsive Design for Upcoming Events */
@media (max-width: 1024px) {
    .events-content {
        gap: 3rem;
    }
    
    .events-text h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .upcoming-events {
        padding: 3rem 0;
    }
    
    .events-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .events-text h2 {
        font-size: 2rem;
    }
    
    .events-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .events-description {
        font-size: 1rem;
    }
    
    .events-details {
        align-items: center;
    }
    
    .event-detail {
        justify-content: center;
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .events-text h2 {
        font-size: 1.8rem;
    }
    
    .events-description {
        font-size: 0.95rem;
    }
    
    .event-detail {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .event-detail i {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-link {
        font-size: 0.85rem;
    }
}