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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Color Variables */
:root {
    --primary-green: #2d5a27;
    --light-green: #4a7c59;
    --gold: #d4af37;
    --light-gold: #f4e4a6;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #333333;
    --text-gray: #666666;
}

/* Navigation */
.navbar {
    background: var(--primary-green);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-logo i {
    margin-right: 10px;
    color: var(--gold);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--gold);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: 0.3s;
}

/* Buttons */
.btn-primary {
    background: var(--gold);
    color: var(--dark-gray);
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: #b8941f;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-green);
    padding: 12px 24px;
    border: 2px solid var(--primary-green);
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

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

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    margin-top: 80px;
}

.hero-slideshow {
    position: relative;
    width: 100%;
    height: 100%;
}

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

.slide.active {
    opacity: 1;
}

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

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    z-index: 2;
    background: rgba(0,0,0,0.5);
    padding: 3rem;
    border-radius: 10px;
    max-width: 600px;
}

.slide-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--light-gold);
}

.hero-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 3;
}

.hero-nav button {
    background: rgba(255,255,255,0.3);
    border: none;
    color: var(--white);
    font-size: 2rem;
    padding: 1rem;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.hero-nav button:hover {
    background: rgba(255,255,255,0.5);
}

.hero-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 3;
}

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

.dot.active {
    background: var(--gold);
}

/* Doctor Profile */
.doctor-profile {
    padding: 5rem 0;
    background: var(--light-gray);
}

.profile-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.profile-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 50%;
    border: 5px solid var(--primary-green);
}

.profile-text h2 {
    color: var(--primary-green);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.profile-text h3 {
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

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

.philosophy h4 {
    color: var(--gold);
    margin-bottom: 1rem;
}

.philosophy blockquote {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
}

.credentials {
    margin: 2rem 0;
}

.credential {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.credential i {
    color: var(--gold);
    font-size: 1.5rem;
    margin-right: 1rem;
    width: 30px;
}

.profile-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Statistics */
.statistics {
    padding: 3rem 0;
    background: var(--primary-green);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat h3 {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.stat p {
    font-size: 1.2rem;
}

/* Services */
.services {
    padding: 5rem 0;
}

.services h2 {
    text-align: center;
    color: var(--primary-green);
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

/* Assessments */
.assessments {
    padding: 5rem 0;
    background: var(--light-gray);
}

.assessments h2 {
    text-align: center;
    color: var(--primary-green);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.disclaimer {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

.disclaimer i {
    margin-right: 1rem;
    font-size: 1.2rem;
}

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

.assessment-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.assessment-card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.assessment-info {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
}

.badge {
    background: var(--light-gold);
    color: var(--dark-gray);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: bold;
}

/* Research */
.research {
    padding: 5rem 0;
}

.research h2 {
    text-align: center;
    color: var(--primary-green);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.research > p {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 3rem;
}

.research-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    border-bottom: 2px solid var(--light-gray);
}

.tab-btn {
    background: none;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--text-gray);
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: var(--primary-green);
    border-bottom-color: var(--gold);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.publications-grid {
    display: grid;
    gap: 2rem;
}

.publication {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left: 5px solid var(--gold);
}

.publication h3 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.authors {
    color: var(--text-gray);
    font-style: italic;
    margin-bottom: 0.5rem;
}

.journal {
    color: var(--gold);
    font-weight: bold;
    margin-bottom: 1rem;
}

.abstract {
    color: var(--text-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.category {
    background: var(--light-green);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    display: inline-block;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.partnerships-grid {
    display: grid;
    gap: 2rem;
}

.partnership {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.partnership h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

/* Resources */
.resources {
    padding: 5rem 0;
    background: var(--light-gray);
}

.resources h2 {
    text-align: center;
    color: var(--primary-green);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.resources > p {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 3rem;
}

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

.resource-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-5px);
}

.resource-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.resource-card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.resource-card p {
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.resource-type {
    background: var(--light-green);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 1rem;
}

/* Contact */
.contact {
    padding: 5rem 0;
}

.contact h2 {
    text-align: center;
    color: var(--primary-green);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact > p {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 3rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 5px;
}

.contact-item i {
    color: var(--gold);
    font-size: 1.5rem;
    margin-right: 1rem;
    margin-top: 0.2rem;
}

.contact-item h4 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.crisis-support {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 1.5rem;
    border-radius: 5px;
    margin-top: 2rem;
}

.crisis-support h4 {
    color: #721c24;
    margin-bottom: 1rem;
}

.contact-form h3 {
    color: var(--primary-green);
    margin-bottom: 2rem;
}

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

.form-group label {
    display: block;
    color: var(--dark-gray);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

/* Footer */
.footer {
    background: var(--primary-green);
    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-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-logo i {
    margin-right: 10px;
    color: var(--gold);
}

.footer-section h3 {
    color: var(--gold);
    margin-bottom: 1rem;
}

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

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

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 1rem;
    text-align: center;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 0;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    background: var(--primary-green);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
}

.close {
    color: var(--white);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--gold);
}

.modal form {
    padding: 2rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--primary-green);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .slide-content h1 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .profile-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .profile-actions {
        flex-direction: column;
        align-items: center;
    }

    .modal-content {
        width: 95%;
        margin: 10% auto;
    }

    .research-tabs {
        flex-wrap: wrap;
    }

    .tab-btn {
        padding: 0.8rem 1rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .slide-content {
        padding: 2rem 1rem;
    }

    .slide-content h1 {
        font-size: 1.5rem;
    }

    .hero-nav {
        padding: 0 1rem;
    }

    .hero-nav button {
        font-size: 1.5rem;
        padding: 0.8rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

.slide-up {
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Success/Error Messages */
.message {
    padding: 1rem;
    border-radius: 5px;
    margin: 1rem 0;
    display: none;
}

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

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

.message.show {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

/* Loading Spinner */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

