/* Spesbona Herbal Remedies - Modern Professional Website */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #2d5a27;
    --secondary-green: #4a7c44;
    --accent-green: #7cb342;
    --earth-brown: #8d6e63;
    --light-beige: #f5f5dc;
    --cream-white: #faf9f7;
    --dark-text: #333333;
    --light-text: #666666;
    --white: #ffffff;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--cream-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-green);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--accent-green);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-green);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-green);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-button {
    background: var(--primary-green);
    color: var(--white) !important;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    transition: var(--transition);
}

.cta-button:hover {
    background: var(--secondary-green);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.cta-button::after {
    display: none !important;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    min-height: 90vh;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1606902965551-dce061c7ae4e?w=1920') center/cover;
    opacity: 0.15;
}

.hero-content {
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
    z-index: 1;
}

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

.hero .tagline {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero .subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 1rem 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.badge h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.badge p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Products Section */
.products {
    padding: 6rem 0;
    background: var(--cream-white);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.2rem;
    color: var(--light-text);
    max-width: 600px;
    margin: 0 auto;
}

.product-category {
    margin-bottom: 4rem;
}

.category-header {
    background: var(--primary-green);
    color: var(--white);
    padding: 1.5rem 2rem;
    border-radius: 10px 10px 0 0;
    margin-bottom: 2rem;
}

.category-header h3 {
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 250px;
    background: linear-gradient(135deg, var(--light-beige) 0%, var(--white) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-green);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.product-info {
    padding: 2rem;
}

.product-info h4 {
    font-size: 1.4rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.product-info p {
    color: var(--light-text);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.product-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.product-features li {
    padding: 0.5rem 0;
    padding-left: 25px;
    position: relative;
    color: var(--light-text);
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
}

.product-info .item-number {
    background: var(--light-beige);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.9rem;
    color: var(--dark-text);
    display: inline-block;
    margin-top: 1rem;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--cream-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 5px solid var(--primary-green);
}

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

.service-card h3 {
    color: var(--primary-green);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    padding: 0.5rem 0;
    padding-left: 25px;
    position: relative;
    color: var(--light-text);
}

.service-card li::before {
    content: '🌿';
    position: absolute;
    left: 0;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    color: var(--white);
}

.testimonials .section-title h2 {
    color: var(--white);
}

.testimonials .section-title p {
    color: rgba(255, 255, 255, 0.9);
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    opacity: 0.95;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--accent-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.author-info p {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--cream-white);
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.contact-info {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-details h4 {
    margin-bottom: 0.3rem;
    color: var(--dark-text);
}

.contact-details p {
    color: var(--light-text);
    line-height: 1.6;
}

.contact-details a {
    color: var(--primary-green);
    text-decoration: none;
}

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

.professor-card {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.professor-card h3 {
    margin-bottom: 1rem;
}

.professor-card p {
    opacity: 0.9;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background: var(--dark-text);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--accent-green);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .tagline {
        font-size: 1.2rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .products-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-badges {
        flex-direction: column;
        align-items: center;
    }
}

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

.product-card,
.service-card,
.testimonial-card {
    animation: fadeIn 0.6s ease-out;
}

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

/* Button Styles */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-green);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--secondary-green);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
}

.btn-outline:hover {
    background: var(--primary-green);
    color: var(--white);
}

/* About Section */
.about-section {
    padding: 4rem 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.about-content h2 {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.about-content p {
    line-height: 1.8;
    color: var(--light-text);
    margin-bottom: 1rem;
}

/* Services Gallery */
.services-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* Professor Card Image */
.professor-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--accent-green);
    box-shadow: var(--shadow);
}

.professor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Testimonials Images */
.testimonials-images {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.testimonials-images img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent-green);
    box-shadow: var(--shadow);
}

/* Testimonial Avatar */
.testimonial-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent-green);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contact Images */
.contact-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-images img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

/* Professor Photo */
.professor-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--accent-green);
    box-shadow: var(--shadow);
}

.professor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}