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

:root {
    --primary-color: #4CAF50;
    --secondary-color: #2196F3;
    --accent-color: #FF9800;
    --dark-color: #333;
    --light-color: #f4f4f4;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

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

/* Skip to main content link for accessibility */
.skip-to-main {
    position: absolute;
    left: -9999px;
    z-index: 999;
    padding: 1em;
    background-color: #000000;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
}

.skip-to-main:focus {
    left: 50%;
    transform: translateX(-50%);
    top: 10px;
}

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

/* Header & Navigation */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: #2d7a2f;
    font-size: 1.8rem;
    font-weight: 700;
}

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

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

.nav-menu a:hover {
    color: #1b5e20;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('bg.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 120px 0;
    text-align: center;
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    font-weight: 700;
}

.hero-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 500;
    animation: fadeInUp 1.2s ease;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1.4s ease;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    color: var(--white);
    padding: 18px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    animation: fadeInUp 1.6s ease, pulse 2s infinite;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: linear-gradient(135deg, #FF8E53 0%, #FFB347 100%);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.6);
    border-color: rgba(255, 255, 255, 0.5);
}

.cta-button:active {
    transform: translateY(-2px) scale(1.02);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
    }
    50% {
        box-shadow: 0 10px 40px rgba(255, 107, 107, 0.7);
    }
}

.cta-icon {
    display: inline-block;
    margin-right: 10px;
    font-size: 1.4rem;
    animation: bounce 1.5s infinite;
}

.cta-arrow {
    display: inline-block;
    margin-left: 10px;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.cta-button:hover .cta-arrow {
    transform: translateX(5px);
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #1b5e20;
    margin: 20px auto 0;
    border-radius: 2px;
}

/* Services Section */
.services {
    background-color: var(--light-color);
}

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

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.service-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: #1b5e20;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.service-card p {
    color: #666;
    line-height: 1.8;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.about-item {
    text-align: center;
    padding: 1.5rem;
}

.about-icon {
    width: 60px;
    height: 60px;
    background: #1b5e20;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1rem;
}

.about-item h3 {
    color: #1b5e20;
    margin-bottom: 1rem;
    font-weight: 700;
}

/* Articles Section */
.articles {
    background-color: var(--light-color);
}

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

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

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

.article-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.article-card p {
    color: #666;
    line-height: 1.8;
}

.article-card a {
    color: var(--secondary-color);
    font-weight: bold;
    text-decoration: none;
    border-bottom: 2px solid var(--secondary-color);
    transition: var(--transition);
}

.article-card a:hover {
    color: #1b5e20;
    border-bottom-color: #1b5e20;
}

/* Expert Section */
.expert-section {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: var(--white);
}

.expert-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 15px;
    color: var(--dark-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.expert-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.expert-content a {
    color: var(--secondary-color);
    font-weight: bold;
    text-decoration: none;
    border-bottom: 2px solid var(--secondary-color);
    transition: var(--transition);
}

.expert-content a:hover {
    color: #1b5e20;
    border-bottom-color: #1b5e20;
}

.expert-features {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.expert-features h3 {
    color: #1b5e20;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

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

.expert-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #ddd;
    line-height: 1.8;
}

.expert-features li:last-child {
    border-bottom: none;
}

.expert-features strong {
    color: #0d47a1;
    font-weight: 700;
}

.expert-cta {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    font-size: 1.1rem;
}

.expert-link {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    background: #0d47a1;
    color: var(--white) !important;
    border-radius: 5px;
    border: none !important;
    font-weight: 600;
}

.expert-link:hover {
    background: #1b5e20;
}

/* Tips Section */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tip-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
}

.tip-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.tip-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Contact Section */
.contact {
    background-color: var(--light-color);
}

.contact-content {
    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: #1b5e20;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.contact-info p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.contact-info a {
    color: #0d47a1;
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
    font-weight: 600;
}

.contact-info a:hover {
    color: #1b5e20;
    border-bottom: 1px solid #1b5e20;
}

.map-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 12px 24px;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: var(--white) !important;
    text-decoration: none !important;
    border: none !important;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 3px 10px rgba(76, 175, 80, 0.3);
}

.map-button:hover {
    background: linear-gradient(135deg, #45a049 0%, #3d8b40 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

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

.contact-form h3 {
    color: #1b5e20;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #1b5e20;
    box-shadow: 0 0 0 3px rgba(27, 94, 32, 0.1);
}

.submit-button {
    width: 100%;
    padding: 15px;
    background: #1b5e20;
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.submit-button:hover {
    background: #2d7a2f;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(27, 94, 32, 0.4);
}

.submit-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    margin-top: 1rem;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.cooldown-message {
    margin-top: 0.5rem;
    padding: 8px;
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    text-align: center;
    font-size: 0.9rem;
    display: none;
}

.cooldown-message.active {
    display: block;
}

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

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

.footer-section h3 {
    color: #66BB6A;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: #81C784;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    border-radius: 5px;
}

/* Footer Contact Styles */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    margin-bottom: 1rem;
}

.footer-contact a {
    color: #ccc;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    padding: 0.5rem;
    border-radius: 5px;
}

.footer-contact a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.footer-contact .icon {
    font-size: 1.2rem;
    min-width: 24px;
    text-align: center;
}

.footer-hours {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #555;
}

.footer-hours p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ccc;
    font-size: 0.95rem;
}

.footer-hours .icon {
    font-size: 1.2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #ccc;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero {
        min-height: 500px;
        padding: 80px 0;
        background-attachment: scroll;
        background-size: cover;
    }

    .hero-content h2 {
        font-size: 2rem;
        text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.9);
    }

    .hero-content h3 {
        font-size: 1.3rem;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
    }

    .hero-content p {
        font-size: 1rem;
        text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.9);
    }

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

    .services-grid,
    .about-grid,
    .articles-grid,
    .tips-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 400px;
        padding: 60px 0;
        background-position: center center;
    }

    .hero-content h2 {
        font-size: 1.5rem;
        text-shadow: 2px 2px 12px rgba(0, 0, 0, 1);
    }

    .hero-content h3 {
        font-size: 1.1rem;
        text-shadow: 2px 2px 10px rgba(0, 0, 0, 1);
    }

    .hero-content p {
        font-size: 0.95rem;
        text-shadow: 1px 1px 8px rgba(0, 0, 0, 1);
    }

    .cta-button {
        padding: 15px 35px;
        font-size: 1rem;
        letter-spacing: 0.5px;
    }
    
    .cta-icon {
        font-size: 1.2rem;
        margin-right: 8px;
    }
    
    .cta-arrow {
        font-size: 1rem;
        margin-left: 8px;
    }
}

