        /* Reset and base styles */
        *,
        *::before,
        *::after {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary-color: #4586db;
            --secondary-color: #4586db;
            --accent-color: #F6E3BC;
            --text-color: #3e523f;
            --background-color: #F0F7F4;
            --white: #FFFFFF;
            --black: #000000;
            --gray: #6B7177;
            --light-gray: #E0E0E0;
            --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            --transition: all 0.3s ease;
        }

        body {
            font-family: 'Arial', sans-serif;
            line-height: 1.6;
            color: var(--text-color);
            background-color: var(--background-color);
        }

        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
        }

        /* Typography */
        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 1rem;
            color: var(--primary-color);
        }

        h1 {
            font-size: 3.5rem;
        }

        h2 {
            font-size: 2.5rem;
        }

        h3 {
            font-size: 2rem;
        }

        h4 {
            font-size: 1.5rem;
        }

        h5 {
            font-size: 1.25rem;
        }

        h6 {
            font-size: 1rem;
        }

        p {
            margin-bottom: 1rem;
        }

        a {
            color: var(--primary-color);
            text-decoration: none;
            transition: var(--transition);
        }

        a:hover {
            color: var(--secondary-color);
        }

        /* Header styles */
        header {
            background-color: var(--white);
            box-shadow: var(--shadow);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            transition: var(--transition);
        }

        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 0;
        }

        .logo {
            font-size: 1.5rem;
            font-weight: bold;
            color: var(--primary-color);
        }

        /* Logo Styles */
        .logo1 {
            display: flex;
            align-items: center;
        }

        .logo1 img {
            border-radius: 50%;
            /* Makes the image circular */
            width: 50px;
            /* Adjust the size as needed */
            height: 50px;
            /* Ensure height and width are equal for a perfect circle */
            margin-right: 10px;
            /* Adds some space between the image and text */
        }

        /* Main nav-links */
        /* Main nav-links */
        .nav-links {
            display: flex;
            list-style: none;
        }

        .nav-links li {
            margin-left: 1.5rem;
        }

        .nav-links a {
            color: var(--primary-color);
            font-weight: 600;
            text-decoration: none;
        }

        /* Menu toggle (using bx-menu icon as part of li) */
        .menu-toggle {
            display: flex;
            font-size: 2rem;
            cursor: pointer;
            color: rgb(0, 0, 0);
            margin-left: auto;
            /* Push the menu button to the far right */
        }

        /* Dropdown for the 3-line menu */
        .dropdown-menu {
            position: fixed;
            right: -250px;
            /* Initially off-screen */
            top: 0;
            width: 250px;
            /* Fixed width */
            background-color: #ffffff;
            /* Background color */
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            /* Align items to the start (top) */
            transition: right 0.3s ease;
            /* Smooth transition */
            padding: 1rem;
            /* Add padding */
            z-index: 1000;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            /* Add shadow effect */
            border-radius: 8px;
            /* Rounded corners */
        }

        .dropdown-menu ul {
            list-style: none;
            /* No bullet points */
            padding: 0;
            /* No padding */
            margin: 0;
            /* No margin */
            width: 100%;
            /* Full width */
        }

        .dropdown-menu li {
            margin-bottom: 1.5rem;
            /* Space between items */
        }

        .dropdown-menu a {
            color: rgb(0, 0, 0);
            /* Text color */
            font-size: 1.2rem;
            /* Font size */
            text-decoration: none;
            /* Remove underline */
            font-weight: bold;
            /* Make text bold */
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
            /* Add text shadow */
            padding: 0.5rem 0;
            /* Add vertical padding */
            transition: color 0.3s ease;
            /* Transition for hover effect */
        }

        .dropdown-menu a:hover {
            color: rgb(194, 10, 10);
            /* Change color on hover */
        }

        .dropdown-menu.active {
            right: 0;
            /* Show the menu */
        }
        
        .signup {
            display: flex;
            color: #f9f9f9;
            margin-top: 20px;
        }


        @media (max-width: 768px) {
            .menu-toggle {
                display: flex;
            }

            .nav-links li {
                display: none;
            }
        }

        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
        }

        .modal-content {
            background-color: white;
            margin: 15% auto;
            padding: 20px;
            border-radius: 10px;
            width: 30%;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            position: relative;
        }

        .close-btn {
            color: #aaa;
            float: right;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
        }

        .close-btn:hover,
        .close-btn:focus {
            color: black;
            text-decoration: none;
            cursor: pointer;
        }
        /* Hero section */
        .hero {
            background: linear-gradient(rgba(0, 225, 255, 0.8), rgba(123, 200, 164, 0.8)), url('front page.jpg') no-repeat center center/cover;
            height: 100vh;
            display: flex;
            align-items: center;
            text-align: center;
            color: var(--white);
        }

        .hero-content {
            max-width: 800px;
            margin: 0 auto;
        }

        .hero h1 {
            font-size: 4rem;
            margin-bottom: 1rem;
            color: var(--white);
        }

        .hero p {
            font-size: 1.5rem;
            margin-bottom: 2rem;
        }

        /* Features section */
        .features {
            padding: 5rem 0;
            background-color: var(--white);
        }

        .features h2 {
            text-align: center;
            margin-bottom: 3rem;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
        }

        .feature-card {
            background-color: var(--background-color);
            padding: 2rem;
            border-radius: 8px;
            text-align: center;
            transition: transform 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            cursor: pointer;
        }

        .feature-card:hover {
            transform: scale(1.05);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
            padding: 2.2rem;
        }

        .feature-icon {
            font-size: 3rem;
            color: var(--primary-color);
            margin-bottom: 1rem;
            transition: font-size 0.4s ease;
        }

        .feature-card:hover .feature-icon {
            font-size: 3.2rem;
        }

        .feature-card h3 {
            font-size: 1.6rem;
            color: #4586db;
            /* Applying the requested color */
            margin-bottom: 1rem;
            font-weight: 600;
        }

        .feature-card p {
            font-size: 1rem;
            color: #666;
            line-height: 1.6;
        }

        @media (max-width: 768px) {
            .features-grid {
                grid-template-columns: 1fr;
            }

            .feature-card {
                padding: 2rem;
            }

            .feature-card h3 {
                font-size: 1.4rem;
            }
        }

        /* Forum section */
        .forum {
            padding: 5rem 0;
            background-color: var(--white);
        }

        .forum h2 {
            text-align: center;
            margin-bottom: 3rem;
        }

        .forum-categories {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
        }

        .forum-category {
            background-color: var(--background-color);
            padding: 2rem;
            border-radius: 8px;
            text-align: center;
            transition: var(--transition);
        }

        .forum-category:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow);
        }

        .forum-icon {
            font-size: 3rem;
            color: var(--primary-color);
            margin-bottom: 1rem;
        }

        /* Video call section */
        .video-call {
            padding: 5rem 0;
            background-color: var(--background-color);
        }

        .video-call-content {
            display: flex;
            align-items: center;
            gap: 2rem;
        }

        .video-call-image {
            flex: 1;
            max-width: 50%;
            border-radius: 8px;
            box-shadow: var(--shadow);
        }

        .video-call-text {
            flex: 1;
        }

        .video-call-text ul {
            list-style-type: none;
            margin-bottom: 2rem;
        }

        .video-call-text li {
            margin-bottom: 0.5rem;
            position: relative;
            padding-left: 1.5rem;
        }

        .video-call-text li::before {
            content: "\2022";
            color: var(--primary-color);
            font-weight: bold;
            position: absolute;
            left: 0;
        }

        .news-card {
            background-color: #f8f9fa;
            border-radius: 8px;
            padding: 20px;
            text-align: center;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .news-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        }

        .news-link {
            display: inline-block;
            margin-top: 10px;
            padding: 10px 15px;
            background-color: #be1717;
            color: white;
            border-radius: 5px;
            text-decoration: none;
        }

        .news-link:hover {
            background-color: #a01212;
        }


        /* Resources section */
        .resources {
            padding: 5rem 0;
            background-color: var(--white);
        }

        .resources h2 {
            text-align: center;
            margin-bottom: 3rem;
        }

        .resources-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
        }

        .resource-card {
            background-color: var(--background-color);
            padding: 2rem;
            border-radius: 8px;
            text-align: center;
            transition: var(--transition);
        }

        .resource-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow);
        }

        .resource-icon {
            font-size: 3rem;
            color: var(--primary-color);
            margin-bottom: 1rem;
        }

        /* Anonymous chat section */
        .anonymous-chat {
            padding: 5rem 0;
            background-color: var(--background-color);
        }

        .chat-content {
            display: flex;
            align-items: center;
            gap: 2rem;
        }

        .chat-text {
            flex: 1;
        }

        .chat-image {
            flex: 1;
            max-width: 50%;
            border-radius: 8px;
            box-shadow: var(--shadow);
        }

        .chat-text ul {
            list-style-type: none;
            margin-bottom: 2rem;
        }

        .chat-text li {
            margin-bottom: 0.5rem;
            position: relative;
            padding-left: 1.5rem;
        }

        .chat-text li::before {
            content: "\2022";
            color: var(--primary-color);
            font-weight: bold;
            position: absolute;
            left: 0;
        }

        /* Safety features section */
        .safety-features {
            padding: 5rem 0;
            background-color: var(--white);
        }

        .safety-features h2 {
            text-align: center;
            margin-bottom: 3rem;
        }

        .safety-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
        }

        .safety-card {
            background-color: var(--background-color);
            padding: 2rem;
            border-radius: 8px;
            text-align: center;
            transition: var(--transition);
        }

        .safety-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow);
        }

        .safety-icon {
            font-size: 3rem;
            color: var(--primary-color);
            margin-bottom: 1rem;
        }

        /* Psychiatrists section */
        .psychiatrists {
            padding: 5rem 0;
            background-color: var(--background-color);
        }

        .psychiatrists h2 {
            text-align: center;
            margin-bottom: 3rem;
        }

        .psychiatrist-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        .psychiatrist-card {
            background-color: var(--white);
            border-radius: 8px;
            padding: 2rem;
            text-align: center;
            transition: var(--transition);
        }

        .psychiatrist-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow);
        }

        .psychiatrist-image {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            object-fit: cover;
            margin: 0 auto 1rem;
        }

        /* Testimonials section */
        .testimonials {
            padding: 5rem 0;
            background-color: var(--white);
        }

        .testimonials h2 {
            text-align: center;
            margin-bottom: 3rem;
        }

        .testimonial-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        .testimonial-card {
            background-color: var(--background-color);
            border-radius: 8px;
            padding: 2rem;
            text-align: center;
            transition: var(--transition);
        }

        .testimonial-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow);
        }

        .testimonial-image {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            object-fit: cover;
            margin: 0 auto 1rem;
        }

        /* FAQ section */
        .faq {
            padding: 5rem 0;
            background-color: var(--background-color);
        }

        .faq h2 {
            text-align: center;
            margin-bottom: 3rem;
        }

        .faq-item {
            background-color: var(--white);
            border-radius: 8px;
            margin-bottom: 1rem;
            overflow: hidden;
        }

        .faq-question {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 2rem;
            cursor: pointer;
        }

        .faq-question h3 {
            margin: 0;
        }

        .faq-question i {
            transition: var(--transition);
        }

        .faq-answer {
            padding: 0 2rem;
            max-height: 0;
            overflow: hidden;
            transition: var(--transition);
        }

        .faq-item.active .faq-question i {
            transform: rotate(180deg);
        }

        .faq-item.active .faq-answer {
            padding: 1rem 2rem;
            max-height: 1000px;
        }
        .contact {
            background-color: #f9f9f9; /* Light background for contrast */
            padding: 60px 20px; /* Adequate padding */
            border-radius: 10px; /* Rounded corners */
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Subtle shadow */
        }
        
        .contact h2 {
            font-size: 2.5rem; /* Larger font size for the heading */
            margin-bottom: 15px; /* Spacing below the heading */
            text-align: center; /* Center-align the heading */
            color: #333; /* Darker text for better readability */
        }
        
        .contact p {
            text-align: center; /* Center-align the paragraph */
            color: #666; /* Slightly lighter color for the paragraph */
            margin-bottom: 40px; /* Spacing below the paragraph */
        }
        
        .contact-form {
            max-width: 600px; /* Limit the width of the form */
            margin: 0 auto; /* Center the form */
            background-color: #ffffff; /* White background for the form */
            padding: 30px; /* Padding inside the form */
            border-radius: 10px; /* Rounded corners */
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Subtle shadow */
        }
        
        .form-group {
            margin-bottom: 20px; /* Space between form groups */
        }
        
        .form-group label {
            font-weight: bold; /* Bold labels */
            display: block; /* Block display for labels */
            margin-bottom: 5px; /* Space below the label */
            color: #333; /* Darker label text */
        }
        
        .form-group input,
        .form-group textarea {
            width: 100%; /* Full width */
            padding: 12px; /* Padding inside inputs and textarea */
            border: 1px solid #ccc; /* Light border */
            border-radius: 5px; /* Rounded corners */
            font-size: 1rem; /* Font size */
            transition: border 0.3s; /* Smooth transition for border */
        }
        
        .form-group input:focus,
        .form-group textarea:focus {
            border: 1px solid #be1717; /* Change border color on focus */
            outline: none; /* Remove default outline */
        }
        
        .cta-button {
            display: inline-block; /* Inline-block for better button styling */
            padding: 12px 20px; /* Padding inside the button */
            background-color: #be1717; /* Button color */
            color: #fff; /* White text */
            border: none; /* Remove border */
            border-radius: 5px; /* Rounded corners */
            font-size: 1rem; /* Font size */
            cursor: pointer; /* Pointer cursor */
            text-align: center; /* Center-align button text */
            transition: background-color 0.3s, transform 0.3s; /* Smooth transition */
        }

        
        .cta-button:hover {
            background-color: #a01212; /* Darker shade on hover */
            color: #aaa;
            transform: translateY(-2px); /* Lift effect on hover */
        }
        
        /* Footer styles */
        footer {
            background-color: var(--primary-color);
            color: var(--white);
            padding: 3rem 0 1rem;
        }

        .footer-content {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            margin-bottom: 2rem;
        }

        .footer-section {
            flex-basis: calc(33.333% - 2rem);
            margin-bottom: 2rem;
        }

        .footer-section h3 {
            color: var(--white);
            margin-bottom: 1rem;
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 0.5rem;
        }

        .footer-links a {
            color: var(--white);
        }

        .social-links a {
            color: var(--white);
            font-size: 1.5rem;
            margin-right: 1rem;
        }

        .footer-bottom {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        /* Crisis button */
        .crisis-button {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background-color: #ff4136;
            color: var(--white);
            padding: 0.5rem 1rem;
            border-radius: 50px;
            font-weight: bold;
            box-shadow: var(--shadow);
            z-index: 1000;
        }

        .crisis-button:hover {
            background-color: #ff1a1a;
        }

        /* Modal styles */
        .modal {
            display: none;
            position: fixed;
            z-index: 2001;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0, 0, 0, 0.4);
        }

        .modal-content {
            background-color: var(--white);
            margin: 10% auto;
            padding: 20px;
            border: 1px solid var(--light-gray);
            width: 80%;
            max-width: 600px;
            border-radius: 8px;
        }

        .close {
            color: var(--gray);
            float: right;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
        }

        .close:hover,
        .close:focus {
            color: var(--black);
            text-decoration: none;
            cursor: pointer;
        }


        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .animate-fadeInUp {
            animation: fadeInUp 0.6s ease-out;
        }

        /* New Sections */
        .mood-tracker,
        .meditation,
        .journal,
        .community-events,
        .success-stories,
        .mental-health-news,
        .self-assessment {
            padding: 5rem 0;
            background-color: var(--white);
        }

        .mood-tracker h2,
        .meditation h2,
        .journal h2,
        .community-events h2,
        .success-stories h2,
        .mental-health-news h2,
        .self-assessment h2 {
            text-align: center;
            margin-bottom: 3rem;
        }

        .mood-grid,
        .meditation-grid,
        .journal-grid,
        .events-grid,
        .stories-grid,
        .news-grid,
        .assessment-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
        }

        .mood-card,
        .meditation-card,
        .journal-card,
        .event-card,
        .story-card,
        .news-card,
        .assessment-card {
            background-color: var(--background-color);
            padding: 2rem;
            border-radius: 8px;
            text-align: center;
            transition: var(--transition);
        }

        .mood-card:hover,
        .meditation-card:hover,
        .journal-card:hover,
        .event-card:hover,
        .story-card:hover,
        .news-card:hover,
        .assessment-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow);
        }

        /* Responsive design */
        @media (max-width: 768px) {
            .container {
                width: 95%;
            }

            h1 {
                font-size: 2.5rem;
            }

            h2 {
                font-size: 2rem;
            }

            h3 {
                font-size: 1.5rem;
            }

            .nav-links {
                display: none;
            }

            .hero h1 {
                font-size: 3rem;
            }

            .hero p {
                font-size: 1.2rem;
            }

            .step {
                flex-basis: 100%;
            }

            .video-call-content,
            .chat-content {
                flex-direction: column;
            }

            .video-call-image,
            .chat-image {
                max-width: 100%;
                margin-bottom: 2rem;
            }

            .footer-section {
                flex-basis: 100%;
            }
        }