 :root {
            --primary-color: #6e48aa;
            --secondary-color: #9d50bb;
            --accent-color: #ff6b6b;
            --success-color: #2ecc71;
            --warning-color: #f39c12;
            --info-color: #3498db;
            --light-color: #ecf0f1;
            --dark-color: #2c3e50;
            --gradient-1: #ff9a9e;
            --gradient-2: #a1c4fd;
            --transition: all 0.3s ease;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        html, body {
            overflow-x: hidden;
            width: 100%;
            position: relative;
        }

        body {
            background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
            color: var(--dark-color);
            line-height: 1.6;
            overflow-x: hidden;
            width: 100%;
        }

        body.dark-mode {
            background: linear-gradient(135deg, #2c3e50, #4a235a);
            color: var(--light-color);
        }

        .container {
            width: 100%;
            max-width: 1450px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Marquee Styles */
        .marquee-container {
            background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
            color: white;
            padding: 8px 0;
            overflow: hidden;
            position: relative;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
            width: 100%;
        }

        .marquee-content {
            display: flex;
            animation: marquee 25s linear infinite;
            white-space: nowrap;
        }

        .marquee-item {
            padding: 0 40px;
            font-size: 16px;
            font-weight: 500;
            flex-shrink: 0;
        }

        @keyframes marquee {
            0% { transform: translateX(100%); }
            100% { transform: translateX(-100%); }
        }

        /* Header Styles */
        header {
            background-color: #2c3e50;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
            transition: var(--transition);
            min-height: 80px;
            width: 100%;
        }

        /* Hidden state for header sections */
        .header-middle.hidden,
        .header-bottom.hidden {
            display: none !important;
        }

        body.dark-mode header {
            background-color: rgba(44, 62, 80, 0.95);
        }

        .header-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 8px 0;
            flex-wrap: wrap;
            width: 100%;
            position: relative;
            z-index: 1001;
        }

        .logo-placeholder {
            width: 400px;
            height: 100px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            font-size: 20px;
            overflow: hidden;
            flex-shrink: 0;
            background: transparent;
            max-width: 100%;
        }

        .logo-placeholder img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            display: block;
            max-width: 100%;
        }

        .search-container {
            flex: 1;
            max-width: 450px;
            margin: 0 20px;
            position: relative;
            min-width: 0;
        }

        .search-container input {
            width: 100%;
            padding: 10px 18px;
            border-radius: 25px;
            border: 2px solid var(--success-color);
            font-size: 14px;
            outline: none;
            transition: var(--transition);
            max-width: 100%;
        }

        .search-container i {
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--primary-color);
            font-size: 16px;
        }

        .header-buttons {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            justify-content: flex-end;
        }

        .btn {
            padding: 8px 16px;
            border-radius: 25px;
            border: none;
            cursor: pointer;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 6px;
            transition: var(--transition);
            font-size: 14px;
            white-space: nowrap;
        }

        .btn-primary {
            background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
            color: white;
        }

        .btn-light {
            background-color: var(--light-color);
            color: var(--dark-color);
        }

        body.dark-mode .btn-light {
            background-color: var(--dark-color);
            color: var(--light-color);
        }

        .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }

        .header-middle {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 0;
            border-top: 1px solid rgba(255, 255, 255);
            transition: var(--transition);
            width: 100%;
            flex-wrap: wrap;
            position: relative;
            z-index: 1001;
        }

        body.dark-mode .header-middle {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        /* Header Bottom Styles */
        .header-bottom {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 8px 0;
            margin-top: 5px;
            border-top: 1px solid rgba(255, 255, 255);
            transition: var(--transition);
            width: 100%;
            flex-wrap: wrap;
            position: relative;
            z-index: 100;
        }

        body.dark-mode .header-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .home-btn {
            background: linear-gradient(45deg, var(--success-color), #27ae60);
            color: white;
            padding: 8px 16px;
            border-radius: 25px;
            text-decoration: none;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 6px;
            transition: var(--transition);
            font-size: 14px;
            white-space: nowrap;
        }

        .home-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }

        .animation-btn {
            background: linear-gradient(45deg, #ff6b6b, #ffa726);
            color: white;
            padding: 8px 16px;
            border-radius: 25px;
            text-decoration: none;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 6px;
            transition: var(--transition);
            font-size: 14px;
            margin-left: 15px;
            white-space: nowrap;
        }

        .animation-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }

        .left-buttons {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
        }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 20px;
            flex-wrap: wrap;
            position: relative;
            z-index: 1200;
        }

        .nav-menu a {
            text-decoration: none;
            color: white;
            font-weight: 600;
            padding: 6px 12px;
            border-radius: 18px;
            transition: var(--transition);
            position: relative;
            font-size: 15px;
            white-space: nowrap;
        }

        body.dark-mode .nav-menu a {
            color: var(--light-color);
        }

        .nav-menu a:hover {
            background-color: white;
            color:black;
        }

        /* DROPDOWN STYLES */
        .dropdown {
            position: relative;
        }

        .dropdown-content {
            position: absolute;
            top: 100%;
            left: 0;
            background-color: white;
            min-width: 200px;
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
            border-radius: 8px;
            padding: 10px 0;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: var(--transition);
            z-index: 1100;
            max-width: 220px;
            border: 1px solid rgba(0, 0, 0, 0.1);
        }

        body.dark-mode .dropdown-content {
            background-color: var(--dark-color);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .dropdown:hover .dropdown-content {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .dropdown-content a {
            display: block;
            padding: 10px 20px;
            color: var(--dark-color);
            text-decoration: none;
            transition: var(--transition);
            font-size: 14px;
            white-space: nowrap;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        }

        body.dark-mode .dropdown-content a {
            color: var(--light-color);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .dropdown-content a:last-child {
            border-bottom: none;
        }

        .dropdown-content a:hover {
            background-color: rgba(110, 72, 170, 0.1);
            color: var(--primary-color);
            padding-left: 25px;
        }

        body.dark-mode .dropdown-content a:hover {
            background-color: rgba(255, 255, 255, 0.1);
            color: var(--gradient-1);
        }

        .action-buttons {
            display: flex;
            gap: 10px;
            margin-top: 5px;
            flex-wrap: wrap;
            position: relative;
            z-index: 100;
        }

        /* Updated Button Colors */
        .btn-comment {
            background-color: var(--success-color);
            color: white;
        }

        .btn-share {
            background-color: var(--warning-color);
            color: white;
        }

        .btn-touch {
            background-color: var(--accent-color);
            color: white;
        }

        /* Religion Icons Styles */
        .religion-icons {
            display: flex;
            gap: 15px;
            align-items: center;
            flex-wrap: wrap;
        }

        .religion-icon {
            font-size: 20px;
            width: 40px;
            height: 40px;
            margin-top: 5px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: var(--dark-color);
            color: white;
            transition: var(--transition);
            animation: glow 2s infinite alternate;
            flex-shrink: 0;
        }

        .religion-icon:hover {
            transform: scale(1.15);
            box-shadow: 0 0 20px var(--dark-color);
        }

        /* Toggle Button Styles */
        .toggle-features-btn {
            background: linear-gradient(45deg, #8e44ad, #3498db);
            color: white;
            padding: 6px 12px;
            border-radius: 20px;
            border: none;
            cursor: pointer;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 5px;
            transition: var(--transition);
            font-size: 12px;
            white-space: nowrap;
        }

        .toggle-features-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }

        /* Mobile Menu Toggle Button */
        .mobile-menu-toggle {
            display: none;
            background: transparent;
            border: none;
            color: white;
            font-size: 24px;
            cursor: pointer;
            padding: 5px;
            margin-left: 10px;
            z-index: 1002;
        }

        /* Main Content Styles */
        .hero-section {
            padding: 60px 0;
            text-align: center;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%236e48aa" fill-opacity="0.1" d="M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,192C672,181,768,139,864,128C960,117,1056,139,1152,149.3C1248,160,1344,160,1392,160L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
            background-size: cover;
            width: 100%;
        }

        .hero-title {
            font-size: 2.8rem;
            margin-bottom: 15px;
            background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
            word-wrap: break-word;
        }

        body.dark-mode .hero-title {
            background: linear-gradient(45deg, #ff9a9e, #a1c4fd);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hero-subtitle {
            font-size: 1.3rem;
            margin-bottom: 30px;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
            word-wrap: break-word;
        }

        .cta-buttons {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: 30px;
            flex-wrap: wrap;
        }

        .btn-large {
            padding: 12px 25px;
            font-size: 16px;
        }

        /* NEW DAILY TIPS SECTION - UPDATED */
        .daily-tips-section {
            padding: 60px 0;
            background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
            width: 100%;
        }

        body.dark-mode .daily-tips-section {
            background: linear-gradient(135deg, #2c3e50, #4a235a);
        }

        .daily-tips-container {
            max-width: 1200px;
            margin: 0 auto;
            background: white;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            padding: 40px;
            position: relative;
            overflow: hidden;
        }

        body.dark-mode .daily-tips-container {
            background: #34495e;
        }

        .daily-tips-header {
            text-align: center;
            margin-bottom: 40px;
            position: relative;
        }

        .daily-tips-header h2 {
            font-size: 2.5rem;
            color: var(--primary-color);
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
        }

        body.dark-mode .daily-tips-header h2 {
            color: var(--accent-color);
        }

        .daily-tips-header p {
            font-size: 1.2rem;
            color: var(--dark-color);
            max-width: 700px;
            margin: 0 auto;
        }

        body.dark-mode .daily-tips-header p {
            color: var(--light-color);
        }

        .daily-tips-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 25px;
            margin-bottom: 40px;
        }

        .daily-tip-card {
            background: linear-gradient(135deg, #fff, #f9f9f9);
            border-radius: 12px;
            padding: 25px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: var(--transition);
            border-left: 5px solid var(--primary-color);
            position: relative;
            overflow: hidden;
        }

        body.dark-mode .daily-tip-card {
            background: linear-gradient(135deg, #2c3e50, #34495e);
            border-left: 5px solid var(--accent-color);
        }

        .daily-tip-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
        }

        .daily-tip-card h3 {
            font-size: 1.4rem;
            margin-bottom: 15px;
            color: var(--primary-color);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        body.dark-mode .daily-tip-card h3 {
            color: var(--accent-color);
        }

        .daily-tip-card p {
            color: var(--dark-color);
            line-height: 1.7;
            font-size: 1rem;
        }

        body.dark-mode .daily-tip-card p {
            color: var(--light-color);
        }

        .daily-tip-icon {
            font-size: 2.5rem;
            margin-bottom: 15px;
            color: var(--primary-color);
        }

        body.dark-mode .daily-tip-icon {
            color: var(--accent-color);
        }

        .daily-tip-actions {
            display: flex;
            justify-content: space-between;
            margin-top: 20px;
        }

        .new-quote-btn {
            background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 25px;
            cursor: pointer;
            font-weight: 600;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .new-quote-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }

        /* QUIZ AND TOOLS SECTION */
        .quiz-tools-section {
            padding: 60px 0;
            background: linear-gradient(135deg, #e3f2fd, #bbdefb);
            width: 100%;
        }

        body.dark-mode .quiz-tools-section {
            background: linear-gradient(135deg, #1a237e, #283593);
        }

        .section-title {
            text-align: center;
            font-size: 2.2rem;
            margin-bottom: 40px;
            color: var(--primary-color);
            word-wrap: break-word;
        }

        body.dark-mode .section-title {
            color: var(--accent-color);
        }

        /* Quiz Container Styles */
        .quiz-container {
            background-color: white;
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            max-width: 800px;
            margin: 0 auto 50px;
        }

        body.dark-mode .quiz-container {
            background-color: #34495e;
        }

        .question {
            margin-bottom: 25px;
            padding: 20px;
            background: #f8f9fa;
            border-radius: 10px;
            border-left: 4px solid var(--primary-color);
        }

        body.dark-mode .question {
            background: #2c3e50;
            border-left: 4px solid var(--accent-color);
        }

        .question h3 {
            margin-bottom: 15px;
            color: var(--dark-color);
            font-size: 1.2rem;
        }

        body.dark-mode .question h3 {
            color: var(--light-color);
        }

        .options {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .option {
            display: flex;
            align-items: center;
            padding: 12px 15px;
            background-color: white;
            border-radius: 8px;
            cursor: pointer;
            transition: var(--transition);
            border: 1px solid #e0e0e0;
        }

        body.dark-mode .option {
            background-color: #2c3e50;
            border: 1px solid #555;
        }

        .option:hover {
            background-color: #e9ecef;
            transform: translateX(5px);
        }

        body.dark-mode .option:hover {
            background-color: #34495e;
        }

        .option input {
            margin-right: 10px;
        }

        .btn-block {
            display: block;
            width: 100%;
            padding: 15px;
            font-size: 1.1rem;
            margin-top: 20px;
        }

        /* Result Styles */
        .result {
            text-align: center;
            padding: 30px;
            background-color: #f8f9fa;
            border-radius: 10px;
            margin-top: 20px;
            display: none;
        }

        body.dark-mode .result {
            background-color: #2c3e50;
        }

        .result h3 {
            margin-bottom: 15px;
            color: var(--primary-color);
        }

        body.dark-mode .result h3 {
            color: var(--accent-color);
        }

        .result p {
            margin-bottom: 20px;
            font-size: 1.1rem;
        }

        /* Good Deed Section */
        .good-deed-container {
            background-color: white;
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            max-width: 600px;
            margin: 0 auto 50px;
            text-align: center;
        }

        body.dark-mode .good-deed-container {
            background-color: #34495e;
        }

        .good-deed {
            font-size: 1.5rem;
            margin-bottom: 25px;
            color: var(--primary-color);
            font-weight: 600;
        }

        body.dark-mode .good-deed {
            color: var(--accent-color);
        }

        /* Mind Relax Section */
        .mind-relax-container {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            border-radius: 15px;
            padding: 40px;
            text-align: center;
            max-width: 600px;
            margin: 0 auto 50px;
            position: relative;
            overflow: hidden;
        }

        .breathing-circle {
            width: 200px;
            height: 200px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.2);
            margin: 0 auto 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            animation: breathe 8s infinite ease-in-out;
        }

        @keyframes breathe {
            0%, 100% { transform: scale(0.8); }
            50% { transform: scale(1.2); }
        }

        .breathing-text {
            font-size: 1.2rem;
            margin-bottom: 20px;
        }

        .timer {
            font-size: 2rem;
            margin: 20px 0;
            font-weight: bold;
        }

        /* Wisdom Wheel Section */
        .wheel-container {
            text-align: center;
            max-width: 600px;
            margin: 0 auto 50px;
        }

        .wheel {
            width: 300px;
            height: 300px;
            border-radius: 50%;
            background: conic-gradient(
                #ff9a9e, #fad0c4, #fad0c4, #a1c4fd, #a1c4fd, 
                #c2e9fb, #c2e9fb, #ffecd2, #ffecd2, #fcb69f
            );
            margin: 0 auto 30px;
            position: relative;
            transition: transform 3s cubic-bezier(0.2, 0.8, 0.3, 1);
            transform: rotate(0deg);
        }

        .wheel-pointer {
            position: absolute;
            top: -20px;
            left: 50%;
            transform: translateX(-50%);
            width: 30px;
            height: 40px;
            background-color: var(--dark-color);
            clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
            z-index: 10;
        }

        .wheel-section {
            position: absolute;
            width: 50%;
            height: 50%;
            transform-origin: bottom right;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
        }

        /* Positive News Section */
        .news-container {
            max-width: 800px;
            margin: 0 auto 50px;
        }

        .news-card {
            background-color: white;
            border-radius: 15px;
            padding: 25px;
            margin-bottom: 20px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            border-left: 5px solid var(--info-color);
        }

        body.dark-mode .news-card {
            background-color: #34495e;
            border-left: 5px solid var(--accent-color);
        }

        .news-card h3 {
            margin-bottom: 10px;
            color: var(--primary-color);
            font-size: 1.3rem;
        }

        body.dark-mode .news-card h3 {
            color: var(--accent-color);
        }

        .news-nav {
            display: flex;
            justify-content: space-between;
            margin-top: 20px;
        }

        /* Learn Something New Section */
        .facts-container {
            max-width: 700px;
            margin: 0 auto 50px;
            text-align: center;
        }

        .fact-card {
            background-color: white;
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            margin-bottom: 20px;
            position: relative;
        }

        body.dark-mode .fact-card {
            background-color: #34495e;
        }

        .fact-icon {
            font-size: 2.5rem;
            margin-bottom: 15px;
            color: var(--primary-color);
        }

        body.dark-mode .fact-icon {
            color: var(--accent-color);
        }

        .fact-text {
            font-size: 1.2rem;
            margin-bottom: 20px;
            line-height: 1.6;
        }

        .fact-nav {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: 20px;
        }

        /* Time for Truth Clock */
        .clock-container {
            text-align: center;
            max-width: 500px;
            margin: 0 auto 50px;
        }

        .clock {
            width: 300px;
            height: 300px;
            border-radius: 50%;
            background-color: white;
            margin: 0 auto 30px;
            position: relative;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            border: 10px solid var(--primary-color);
        }

        body.dark-mode .clock {
            background-color: #34495e;
            border: 10px solid var(--accent-color);
        }

        .clock-face {
            position: relative;
            width: 100%;
            height: 100%;
        }

        .clock-now {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 1.5rem;
            font-weight: bold;
            color: var(--primary-color);
            z-index: 10;
        }

        body.dark-mode .clock-now {
            color: var(--accent-color);
        }

        /* Clock Numbers */
        .clock-number {
            position: absolute;
            width: 100%;
            height: 100%;
            text-align: center;
            font-size: 1.2rem;
            font-weight: bold;
            color: var(--dark-color);
        }

        body.dark-mode .clock-number {
            color: var(--light-color);
        }

        .hand {
            position: absolute;
            bottom: 50%;
            left: 50%;
            transform-origin: bottom;
            transform: translateX(-50%);
            background-color: var(--dark-color);
            border-radius: 5px;
            z-index: 5;
        }

        .hour-hand {
            width: 6px;
            height: 30%;
        }

        .minute-hand {
            width: 4px;
            height: 40%;
        }

        .second-hand {
            width: 2px;
            height: 45%;
            background-color: var(--accent-color);
        }

        /* Moral Polls Section */
        .poll-container {
            background-color: white;
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            max-width: 600px;
            margin: 0 auto;
        }

        body.dark-mode .poll-container {
            background-color: #34495e;
        }

        .poll-question {
            margin-bottom: 20px;
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--primary-color);
        }

        body.dark-mode .poll-question {
            color: var(--accent-color);
        }

        .poll-options {
            margin-bottom: 30px;
        }

        .poll-option {
            margin-bottom: 15px;
            padding: 12px;
            background-color: #f8f9fa;
            border-radius: 8px;
            cursor: pointer;
            transition: var(--transition);
            border: 1px solid #e0e0e0;
        }

        body.dark-mode .poll-option {
            background-color: #2c3e50;
            border: 1px solid #555;
        }

        .poll-option:hover {
            background-color: #e9ecef;
            transform: translateX(5px);
        }

        body.dark-mode .poll-option:hover {
            background-color: #34495e;
        }

        .poll-results {
            display: none;
        }

        .result-bar {
            height: 30px;
            background-color: #e9ecef;
            border-radius: 5px;
            margin-bottom: 10px;
            overflow: hidden;
            position: relative;
        }

        body.dark-mode .result-bar {
            background-color: #2c3e50;
        }

        .result-fill {
            height: 100%;
            background-color: var(--primary-color);
            width: 0%;
            transition: width 1s;
        }

        body.dark-mode .result-fill {
            background-color: var(--accent-color);
        }

        .result-label {
            position: absolute;
            top: 0;
            left: 10px;
            line-height: 30px;
            color: white;
            font-weight: bold;
        }

        /* Floating Shapes Animation */
        .floating-shapes {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            z-index: -1;
        }

        .shape {
            position: absolute;
            opacity: 0.3;
            animation: float 15s infinite linear;
        }

        .circle {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
        }

        .triangle {
            width: 0;
            height: 0;
            border-left: 40px solid transparent;
            border-right: 40px solid transparent;
            border-bottom: 80px solid var(--gradient-1);
        }

        .square {
            width: 60px;
            height: 60px;
            background: linear-gradient(45deg, var(--success-color), #27ae60);
            transform: rotate(45deg);
        }

        @keyframes float {
            0% {
                transform: translateY(0) rotate(0deg);
            }
            50% {
                transform: translateY(-15px) rotate(180deg);
            }
            100% {
                transform: translateY(0) rotate(360deg);
            }
        }

        
footer {
    background: var(--secondary-color);
    color: #fff;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}
.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}
.footer-column {
    flex: 1 1 200px;
    min-width: 250px;
    padding: 0 15px;
}
.footer-column h3 {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}
.footer-column h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: #fff;
}
.footer-column ul {
    list-style: none;
}
.footer-column ul li {
    margin-bottom: 0.6rem;
}
.footer-column ul li a {
    color: #dfe6e9;
    text-decoration: none;
    transition: var(--transition);
    font-size: clamp(0.85rem, 2.5vw, 0.95rem);
}
.footer-column ul li a:hover {
    color: #fff;
    padding-left: 5px;
}
.footer-column p {
    color: #dfe6e9;
    margin-bottom: 1rem;
    font-size: clamp(0.85rem, 2.5vw, 0.95rem);
}
.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgb(255 255 255 / 0.1);
}
.footer-bottom p {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}
.social-links {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
}
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    color: #fff;
    transition: var(--transition);
    font-size: 1rem;
    padding: 5px;
}
.social-links a:hover {
    background: var(--footer-color);
    transform: translateY(-3px);
}
.social-links img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (max-width: 768px) {
    .footer-container {
        gap: 0.7rem;
    }
    .footer-column {
        flex: 1 1 150px;
        padding: 0 10px;
    }
}
@media (max-width: 480px) {
    .footer-container {
        flex-direction: column;
        gap: 0.7rem;
    }
    .footer-column {
        flex: 1 1 auto;
        min-width: 100%;
        padding: 0;
        margin-bottom: 1.5rem;
    }
    .footer-column:last-child {
        margin-bottom: 0;
    }
    .social-links {
        justify-content: center;
    }
}
@media (max-width: 350px) {
    .footer-bottom p {
        white-space: normal;
    }
}
.logo-below-footer {
    width: 100%;
    text-align: center;
    padding: 0 15px;
    cursor: pointer;
}
.logo-below-footer img {
    width: 100%;
    height: 100%;
    transition: var(--transition);
    object-fit: cover;
}
.logo-below-footer img:hover {
    transform: translateY(-5px);
}
@media (max-width: 768px) {
    .logo-below-footer {
        margin: 1.5rem 0;
    }
    .logo-below-footer img {
        max-width: 350px;
    }
}
@media (max-width: 480px) {
    .logo-below-footer {
        margin: 1rem 0;
    }
    .logo-below-footer img {
        max-width: 280px;
    }
}
@media (max-width: 350px) {
    .logo-below-footer img {
        max-width: 220px;
    }
}
@media (min-width: 992px) {
    .logo-below-footer img {
        width: 400px;
        height: 100px;
    }
}
@media (max-width: 768px) {
    .logo-below-footer img {
        width: 350px;
        height: 90px;
    }
}
@media (max-width: 400px) {
    .logo-below-footer img {
        width: 280px;
        height: 70px;
    }
}
@media (max-width: 300px) {
    .logo-below-footer img {
        width: 220px;
        height: 55px;
    }
}

.logo-below-footer {
    
    display: flex;
    justify-content: center;
    align-items: center;
}


        /* RESPONSIVE STYLES */
        @media (max-width: 1200px) {
            .logo-placeholder {
                width: 350px;
                height: 90px;
            }
        }

        @media (max-width: 992px) {
            .header-top {
                flex-wrap: wrap;
                justify-content: center;
                gap: 15px;
            }
            
            .logo-placeholder {
                width: 350px;
                height: 80px;
                order: 1;
            }
            
            .search-container {
                order: 3;
                margin: 10px 0;
                max-width: 100%;
                flex: 0 0 100%;
            }
            
            .header-buttons {
                order: 2;
                justify-content: center;
                flex-wrap: wrap;
            }
            
            .nav-menu {
                flex-wrap: wrap;
                justify-content: center;
                gap: 12px;
            }
            
            .hero-title {
                font-size: 2.2rem;
            }
            
            .header-bottom {
                flex-direction: column;
                gap: 15px;
            }
            
            .religion-icons {
                justify-content: center;
            }
            
            .action-buttons {
                justify-content: center;
            }
        }

        /* MOBILE STYLES - 768px and below */
        @media (max-width: 768px) {
            header {
                height: auto !important;
                min-height: 80px;
            }
            
            .header-middle {
                flex-direction: column;
                gap: 15px;
            }
            
            .left-buttons {
                justify-content: flex-start;
                width: 100%;
                align-items: center;
                gap: 15px;
            }
            
            .action-buttons {
                width: 100%;
                justify-content: center;
                flex-wrap: wrap;
            }
            
            .cta-buttons {
                flex-direction: column;
                align-items: center;
            }
            
            .hero-title {
                font-size: 1.8rem;
            }
            
            .hero-subtitle {
                font-size: 1.1rem;
            }
            
            .religion-icons {
                gap: 8px;
            }
            
            .religion-icon {
                width: 35px;
                height: 35px;
                font-size: 16px;
            }
            
            header {
                height: auto;
                min-height: 80px;
            }
            
            .logo-placeholder {
                width: 300px;
                height: 70px;
            }
            
            /* MOBILE NAV MENU */
            .nav-menu {
                display: none;
                flex-direction: column;
                width: 100%;
                background: #2c3e50;
                position: absolute;
                top: 100%;
                left: 0;
                padding: 15px;
                box-shadow: 0 4px 12px rgba(0,0,0,0.2);
                border-radius: 0 0 8px 8px;
                gap: 10px;
            }
            
            .nav-menu.active {
                display: flex;
            }
            
            .nav-menu li {
                width: 100%;
                text-align: center;
            }
            
            .nav-menu a {
                font-size: 14px;
                padding: 12px 15px;
                display: block;
                text-align: center;
                width: 100%;
                border-radius: 8px;
            }
            
            .mobile-menu-toggle {
                display: block;
                margin-left: auto;
            }

            /* MOBILE DROPDOWN STYLES */
            .dropdown {
                width: 100%;
                text-align: center;
            }
            
            .dropdown-content {
                position: static;
                opacity: 1;
                visibility: visible;
                transform: none;
                display: none;
                background: rgba(255,255,255,0.1);
                width: 100%;
                max-width: 100%;
                margin-top: 10px;
                box-shadow: none;
                border-radius: 8px;
                padding: 8px 0;
            }
            
            .dropdown.active .dropdown-content {
                display: block;
            }
            
            .dropdown-content a {
                color: white;
                border-bottom: 1px solid rgba(255,255,255,0.1);
                text-align: center;
                padding: 10px 15px;
                font-size: 13px;
            }
            
            body.dark-mode .dropdown-content a {
                color: var(--light-color);
            }
            
            .dropdown-content a:hover {
                background: rgba(255,255,255,0.2);
                color: white;
                padding-left: 20px;
            }
            
            .daily-tips-container {
                padding: 20px;
            }
            
            .daily-tips-header h2 {
                font-size: 2rem;
            }
            
            .daily-tips-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 480px) {
            .logo-placeholder {
                width: 250px;
                height: 60px;
                font-size: 16px;
            }
            
            .btn {
                padding: 6px 12px;
                font-size: 12px;
            }
            
            .home-btn {
                padding: 6px 12px;
                font-size: 12px;
            }
            
            .animation-btn {
                padding: 6px 12px;
                font-size: 12px;
                margin-left: 10px;
            }
            
            .nav-menu a {
                font-size: 13px;
                padding: 10px 12px;
            }
            
            .toggle-features-btn {
                padding: 4px 8px;
                font-size: 10px;
            }
            
            .header-top {
                gap: 10px;
            }
            
            .hero-title {
                font-size: 1.5rem;
            }
            
            .hero-subtitle {
                font-size: 0.9rem;
            }
            
            .marquee-item {
                font-size: 12px;
                padding: 0 20px;
            }
            
            .section-title {
                font-size: 1.8rem;
            }
        }
        /* GOOD HABITS MAIN SECTION STYLES */
.good-habits-main {
    background-color: #f5f5f5;
    padding: 60px 0;
    width: 100%;
}

body.dark-mode .good-habits-main {
    background-color: #2c3e50;
}

.section-visible {
    width: 100%;
    max-width: 1160px;
    height: auto;
    background-color: white;
    padding: 25px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
}

body.dark-mode .section-visible {
    background-color: #34495e;
}

.section-visible-title {
    text-align: left;
    font-size: 1.8rem;
    color: var(--danger);
    margin-bottom: 15px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-visible-title i {
    color: var(--danger);
}

body.dark-mode .section-visible-title {
    color: var(--danger);
}

.section-visible-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #e0e0e0;
}

body.dark-mode .section-visible-title::after {
    background-color: #555;
}

.card-container-visible {
    width: 100%;
    display: flex;
    gap: 20px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.card-visible {
    flex: 1;
    min-width: 250px;
    height: auto;
    background-color: var(--light-color);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border-left: 4px solid var(--danger);
}

.card-visible:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.card-visible h3 {
    color: var(--dark-color);
    margin-bottom: 12px;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-visible h3 i {
    color: var(--danger);
}

body.dark-mode .card-visible h3 {
    color: var(--gradient-1);
}

.card-visible p {
    color: var(--dark-color);
    line-height: 1.6;
    font-size: 16px;
}

body.dark-mode .card-visible p {
    color: var(--light-color);
}

/* GOOD HABITS LIST WITH TIMER */
#good-habits {
    padding: 60px 0;
    background-color: rgba(255, 255, 255, 0.7);
    position: relative;
}

body.dark-mode #good-habits {
    background-color: rgba(44, 62, 80, 0.7);
}

.habit-list-container {
    position: relative;
    max-width: 1160px;
    margin: 0 auto;
}

.habit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
    flex-wrap: wrap;
}

.habit-timer {
    background: var(--danger);
    color: white;
    padding: 10px 18px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
}

.habit-list {
    list-style-type: none;
    margin-top: 20px;
}

.habit-item {
    padding: 18px;
    margin-bottom: 15px;
    background-color: #f0f9f0;
    border-left: 4px solid var(--danger);
    border-radius: 8px;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

body.dark-mode .habit-item {
    background-color: rgba(46, 204, 113, 0.1);
    border-left: 4px solid var(--danger);
}

.habit-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.habit-timer {
    background: #e74c3c !important;  /* yeh line add karein */
    background-color: #e74c3c !important;  /* yeh line add karein */
    color: white;
    padding: 10px 18px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}
.section-title{

    color: #e74c3c !important;
}

/* ============================================
   COMPLETE RESPONSIVE FIXES FOR 8 SECTIONS
   (Quiz, Good Deed, Mind Relax, Wisdom Wheel,
    Positive News, Learn Something, Truth Clock, Moral Polls)
   ============================================ */

/* --- TABLET & SMALL LAPTOP (max-width: 992px) --- */
@media (max-width: 992px) {
  /* All section containers */
  .quiz-container,
  .good-deed-container,
  .mind-relax-container,
  .wheel-container,
  .news-container,
  .facts-container,
  .clock-container,
  .poll-container {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 25px 20px;
    width: 95%;
  }

  .mind-relax-container {
    padding: 30px 20px;
    width: 95%;
  }

  .wheel {
    width: 250px;
    height: 250px;
  }

  .clock {
    width: 250px;
    height: 250px;
  }

  .breathing-circle {
    width: 160px;
    height: 160px;
  }

  .daily-tips-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-title {
    font-size: 2rem;
  }
}

/* --- MOBILE (max-width: 768px) --- */
@media (max-width: 768px) {
  /* All section containers - full width with padding */
  .quiz-container,
  .good-deed-container,
  .mind-relax-container,
  .wheel-container,
  .news-container,
  .facts-container,
  .clock-container,
  .poll-container {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 20px 15px;
    border-radius: 12px;
  }

  /* Section titles */
  .section-title {
    font-size: 1.6rem;
    text-align: center;
    padding: 0 10px;
  }
  .section-title h2 {
    font-size: 1.4rem;
  }

  /* --- QUIZ SECTION --- */
  .quiz-container {
    padding: 18px 12px;
  }
  .question {
    padding: 14px 12px;
    margin-bottom: 18px;
  }
  .question h3 {
    font-size: 1rem;
    line-height: 1.5;
  }
  .options {
    gap: 8px;
  }
  .option {
    padding: 10px 12px;
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 8px;
  }
  .option input[type="radio"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
  }
  .option label {
    font-size: 0.9rem;
    line-height: 1.4;
    cursor: pointer;
  }
  .btn-block {
    padding: 12px 15px;
    font-size: 1rem;
  }
  #quiz-result {
    padding: 18px 15px;
  }
  #quiz-result h3 {
    font-size: 1.1rem;
  }
  #quiz-result p {
    font-size: 0.95rem;
  }

  /* --- GOOD DEED SECTION --- */
  .good-deed-container {
    padding: 20px 15px;
    text-align: center;
  }
  .good-deed {
    font-size: 1.2rem;
    line-height: 1.6;
    padding: 10px 5px;
    word-wrap: break-word;
  }
  .good-deed-container .btn {
    padding: 10px 25px;
    font-size: 1rem;
  }
  #deed-message p {
    font-size: 0.95rem;
  }

  /* --- MIND RELAX SECTION --- */
  .mind-relax-container {
    padding: 25px 15px;
    width: 100%;
  }
  .breathing-circle {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
  }
  .breathing-text {
    font-size: 1rem;
    text-align: center;
    padding: 0 5px;
  }
  .mind-relax-container p {
    font-size: 1rem;
    padding: 0 5px;
  }
  .timer {
    font-size: 1.8rem;
    margin: 15px 0;
  }
  .mind-relax-container .btn {
    padding: 10px 22px;
    font-size: 0.95rem;
    margin: 5px;
  }

  /* --- WISDOM WHEEL SECTION --- */
  .wheel-container {
    text-align: center;
    padding: 20px 15px;
  }
  .wheel {
    width: 220px;
    height: 220px;
    margin: 0 auto 20px;
  }
  .wheel-section {
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2px;
  }
  .wheel-section div {
    font-size: 0.65rem;
    line-height: 1.2;
    text-align: center;
    word-wrap: break-word;
    max-width: 80%;
  }
  .wheel-pointer {
    width: 24px;
    height: 32px;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
  }
  .wheel-container .btn {
    padding: 10px 28px;
    font-size: 1rem;
  }
  #wisdom-result {
    padding: 15px;
    margin-top: 15px;
  }
  #wisdom-result h3 {
    font-size: 1.1rem;
  }
  #wisdom-result p {
    font-size: 0.95rem;
  }

  /* --- POSITIVE NEWS SECTION --- */
  .news-container {
    padding: 0 10px;
  }
  .news-card {
    padding: 18px 15px;
    margin-bottom: 15px;
    border-left-width: 4px;
  }
  .news-card h3 {
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 8px;
  }
  .news-card p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  .news-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
    flex-wrap: wrap;
  }
  .news-nav .btn {
    padding: 8px 20px;
    font-size: 0.9rem;
    min-width: 100px;
  }

  /* --- LEARN SOMETHING NEW SECTION --- */
  .facts-container {
    padding: 0 10px;
  }
  .fact-card {
    padding: 22px 18px;
    border-radius: 12px;
  }
  .fact-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
  }
  .fact-text {
    font-size: 1rem;
    line-height: 1.7;
    padding: 0 5px;
  }
  .fact-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
    flex-wrap: wrap;
  }
  .fact-nav .btn {
    padding: 8px 20px;
    font-size: 0.9rem;
    min-width: 100px;
  }

  /* --- TRUTH CLOCK SECTION --- */
  .clock-container {
    text-align: center;
    padding: 20px 15px;
  }
  .clock {
    width: 220px;
    height: 220px;
    margin: 0 auto 20px;
    border-width: 8px;
  }
  .clock-number {
    font-size: 0.85rem;
  }
  .clock-number span {
    display: inline-block;
  }
  .clock-now {
    font-size: 1rem;
  }
  .clock-container p {
    font-size: 0.95rem;
    padding: 0 10px;
  }

  /* --- MORAL POLLS SECTION --- */
  .poll-container {
    padding: 20px 15px;
  }
  .poll-question {
    font-size: 1.05rem;
    line-height: 1.5;
    margin-bottom: 18px;
    text-align: center;
  }
  .poll-options {
    margin-bottom: 20px;
  }
  .poll-option {
    padding: 12px 14px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
  }
  .poll-option input[type="radio"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }
  .poll-option label {
    font-size: 0.95rem;
    cursor: pointer;
    line-height: 1.4;
  }
  .poll-container .btn-block {
    padding: 12px 15px;
    font-size: 1rem;
  }
  .poll-results {
    padding: 15px 10px;
    margin-top: 15px;
  }
  .poll-results h3 {
    font-size: 1.05rem;
    margin-bottom: 12px;
  }
  .result-bar {
    height: 28px;
    margin-bottom: 8px;
    border-radius: 5px;
  }
  .result-fill {
    height: 100%;
    border-radius: 5px;
  }
  .result-label {
    font-size: 0.85rem;
    line-height: 28px;
    padding-left: 10px;
  }

  /* --- DAILY TIPS GRID --- */
  .daily-tips-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  /* --- GENERAL BUTTONS --- */
  .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
  }
  .btn-large {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
}

/* --- SMALL MOBILE (max-width: 480px) --- */
@media (max-width: 480px) {
  /* All containers - tighter padding */
  .quiz-container,
  .good-deed-container,
  .mind-relax-container,
  .wheel-container,
  .news-container,
  .facts-container,
  .clock-container,
  .poll-container {
    padding: 15px 12px;
    border-radius: 10px;
  }

  .section-title {
    font-size: 1.3rem;
  }
  .section-title h2 {
    font-size: 1.2rem;
  }

  /* QUIZ */
  .question h3 {
    font-size: 0.9rem;
  }
  .option {
    padding: 8px 10px;
    font-size: 0.82rem;
  }
  .option label {
    font-size: 0.82rem;
  }
  .option input[type="radio"] {
    width: 16px;
    height: 16px;
  }
  .btn-block {
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  /* GOOD DEED */
  .good-deed {
    font-size: 1rem;
  }
  .good-deed-container .btn {
    padding: 8px 20px;
    font-size: 0.9rem;
  }

  /* MIND RELAX */
  .breathing-circle {
    width: 120px;
    height: 120px;
  }
  .breathing-text {
    font-size: 0.85rem;
  }
  .timer {
    font-size: 1.5rem;
  }
  .mind-relax-container .btn {
    padding: 8px 18px;
    font-size: 0.85rem;
  }

  /* WISDOM WHEEL */
  .wheel {
    width: 180px;
    height: 180px;
  }
  .wheel-section {
    font-size: 0.55rem;
  }
  .wheel-section div {
    font-size: 0.5rem;
    max-width: 70%;
  }
  .wheel-pointer {
    width: 20px;
    height: 26px;
    top: -13px;
  }
  .wheel-container .btn {
    padding: 8px 22px;
    font-size: 0.9rem;
  }
  #wisdom-result h3 {
    font-size: 1rem;
  }
  #wisdom-result p {
    font-size: 0.85rem;
  }

  /* POSITIVE NEWS */
  .news-card {
    padding: 14px 12px;
  }
  .news-card h3 {
    font-size: 1rem;
  }
  .news-card p {
    font-size: 0.88rem;
  }
  .news-nav .btn {
    padding: 6px 16px;
    font-size: 0.8rem;
    min-width: 80px;
  }

  /* LEARN SOMETHING */
  .fact-card {
    padding: 18px 14px;
  }
  .fact-icon {
    font-size: 1.8rem;
  }
  .fact-text {
    font-size: 0.9rem;
  }
  .fact-nav .btn {
    padding: 6px 16px;
    font-size: 0.8rem;
    min-width: 80px;
  }

  /* TRUTH CLOCK */
  .clock {
    width: 180px;
    height: 180px;
    border-width: 6px;
  }
  .clock-number {
    font-size: 0.7rem;
  }
  .clock-now {
    font-size: 0.85rem;
  }
  .clock-container p {
    font-size: 0.85rem;
  }

  /* MORAL POLLS */
  .poll-container {
    padding: 15px 10px;
  }
  .poll-question {
    font-size: 0.95rem;
  }
  .poll-option {
    padding: 10px 12px;
    font-size: 0.85rem;
  }
  .poll-option label {
    font-size: 0.85rem;
  }
  .poll-option input[type="radio"] {
    width: 16px;
    height: 16px;
  }
  .poll-container .btn-block {
    padding: 10px 12px;
    font-size: 0.9rem;
  }
  .result-bar {
    height: 24px;
  }
  .result-label {
    font-size: 0.8rem;
    line-height: 24px;
  }
  .poll-results h3 {
    font-size: 0.95rem;
  }
}

/* --- EXTRA SMALL (max-width: 360px) --- */
@media (max-width: 360px) {
  .quiz-container,
  .good-deed-container,
  .mind-relax-container,
  .wheel-container,
  .news-container,
  .facts-container,
  .clock-container,
  .poll-container {
    padding: 12px 8px;
    border-radius: 8px;
  }

  .section-title {
    font-size: 1.1rem;
  }

  /* QUIZ */
  .question {
    padding: 10px 8px;
  }
  .question h3 {
    font-size: 0.8rem;
  }
  .option {
    padding: 6px 8px;
    font-size: 0.75rem;
  }
  .option label {
    font-size: 0.75rem;
  }
  .option input[type="radio"] {
    width: 14px;
    height: 14px;
  }

  /* GOOD DEED */
  .good-deed {
    font-size: 0.85rem;
  }

  /* MIND RELAX */
  .breathing-circle {
    width: 100px;
    height: 100px;
  }
  .breathing-text {
    font-size: 0.7rem;
  }
  .timer {
    font-size: 1.2rem;
  }

  /* WISDOM WHEEL */
  .wheel {
    width: 150px;
    height: 150px;
  }
  .wheel-section {
    font-size: 0.45rem;
  }
  .wheel-section div {
    font-size: 0.4rem;
    max-width: 60%;
  }
  .wheel-pointer {
    width: 16px;
    height: 22px;
    top: -11px;
  }

  /* TRUTH CLOCK */
  .clock {
    width: 150px;
    height: 150px;
    border-width: 5px;
  }
  .clock-number {
    font-size: 0.6rem;
  }
  .clock-now {
    font-size: 0.7rem;
  }

  /* MORAL POLLS */
  .poll-question {
    font-size: 0.85rem;
  }
  .poll-option {
    padding: 8px 10px;
    font-size: 0.78rem;
  }
  .poll-option label {
    font-size: 0.78rem;
  }
  .result-bar {
    height: 20px;
  }
  .result-label {
    font-size: 0.7rem;
    line-height: 20px;
  }

  .news-card h3 {
    font-size: 0.85rem;
  }
  .news-card p {
    font-size: 0.8rem;
  }
  .fact-text {
    font-size: 0.8rem;
  }

  .btn {
    padding: 5px 12px;
    font-size: 0.75rem;
  }
  .btn-large {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
}

/* ============================================
   FAQ SECTION STYLES
   ============================================ */

.faq-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    width: 100%;
}

body.dark-mode .faq-section {
    background: linear-gradient(135deg, #2c3e50, #1a1a2e);
}

.faq-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 40px;
    opacity: 0.8;
}

body.dark-mode .faq-subtitle {
    color: var(--light-color);
}

.faq-container {
    max-width: 850px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

body.dark-mode .faq-item {
    background: #34495e;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.faq-question:hover {
    background: rgba(110, 72, 170, 0.05);
}

body.dark-mode .faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-icon {
    color: var(--primary-color);
    font-size: 1.3rem;
    flex-shrink: 0;
}

body.dark-mode .faq-icon {
    color: var(--accent-color);
}

.faq-question-text {
    flex: 1;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark-color);
    line-height: 1.4;
}

body.dark-mode .faq-question-text {
    color: var(--light-color);
}

.faq-toggle {
    color: var(--primary-color);
    font-size: 1.1rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

body.dark-mode .faq-toggle {
    color: var(--accent-color);
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 22px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 22px 22px 22px;
}

.faq-answer p {
    font-size: 0.98rem;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

body.dark-mode .faq-answer p {
    color: #d0d0d0;
}

/* --- FAQ RESPONSIVE --- */
@media (max-width: 768px) {
    .faq-section {
        padding: 40px 0;
    }
    
    .faq-container {
        padding: 0 15px;
    }
    
    .faq-question {
        padding: 15px 16px;
        gap: 10px;
    }
    
    .faq-question-text {
        font-size: 0.95rem;
    }
    
    .faq-icon {
        font-size: 1.1rem;
    }
    
    .faq-toggle {
        font-size: 0.95rem;
    }
    
    .faq-answer p {
        font-size: 0.9rem;
        line-height: 1.7;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 16px 16px 16px;
    }
    
    .faq-subtitle {
        font-size: 0.95rem;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .faq-section {
        padding: 30px 0;
    }
    
    .faq-question {
        padding: 12px 14px;
        gap: 8px;
    }
    
    .faq-question-text {
        font-size: 0.85rem;
    }
    
    .faq-icon {
        font-size: 0.95rem;
    }
    
    .faq-toggle {
        font-size: 0.85rem;
    }
    
    .faq-answer p {
        font-size: 0.82rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 14px 14px 14px;
    }
}

@media (max-width: 360px) {
    .faq-question {
        padding: 10px 12px;
        gap: 6px;
        flex-wrap: wrap;
    }
    
    .faq-question-text {
        font-size: 0.8rem;
        order: 2;
        flex: 1 1 100%;
        margin-top: 2px;
    }
    
    .faq-icon {
        font-size: 0.85rem;
        order: 1;
    }
    
    .faq-toggle {
        font-size: 0.8rem;
        order: 3;
    }
    
    .faq-answer p {
        font-size: 0.78rem;
    }
}


/* ============================================
   IMPORTANT WMD MESSAGE SECTION
   ============================================ */

.wmd-message-section {
    padding: 70px 0;
    background: linear-gradient(135deg, #f0f2f5, #e8ecf1);
    width: 100%;
}

body.dark-mode .wmd-message-section {
    background: linear-gradient(135deg, #1a1a2e, #2c3e50);
}

.wmd-message-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header --- */
.wmd-message-header {
    text-align: center;
    margin-bottom: 50px;
}

.wmd-message-badge {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 6px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

body.dark-mode .wmd-message-badge {
    background: linear-gradient(45deg, #ff9a9e, #a1c4fd);
    color: #1a1a2e;
}

.wmd-message-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.2;
    margin-bottom: 10px;
}

.wmd-message-title span {
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--primary-color);
}

body.dark-mode .wmd-message-title {
    color: var(--light-color);
}

body.dark-mode .wmd-message-title span {
    color: var(--accent-color);
}

.wmd-message-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 650px;
    margin: 0 auto;
}

body.dark-mode .wmd-message-subtitle {
    color: #b0b0b0;
}

/* --- Message Grid --- */
.wmd-message-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.wmd-message-card {
    background: white;
    border-radius: 16px;
    padding: 30px 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    border-top: 4px solid var(--card-color, var(--primary-color));
    position: relative;
    overflow: hidden;
}

body.dark-mode .wmd-message-card {
    background: #34495e;
    border-top: 4px solid var(--card-color, var(--accent-color));
}

.wmd-message-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: var(--card-color, var(--primary-color));
    opacity: 0.05;
    border-radius: 0 0 0 100px;
    pointer-events: none;
}

.wmd-message-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.wmd-message-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--card-color, var(--primary-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 18px;
    transition: all 0.3s ease;
}

.wmd-message-card:hover .wmd-message-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.wmd-message-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 12px;
}

body.dark-mode .wmd-message-card h3 {
    color: var(--light-color);
}

.wmd-message-card p {
    font-size: 0.98rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 18px;
}

body.dark-mode .wmd-message-card p {
    color: #c0c0c0;
}

.wmd-message-card-footer {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 5px;
}

.wmd-message-tag {
    display: inline-block;
    background: rgba(110, 72, 170, 0.1);
    color: var(--primary-color);
    padding: 4px 14px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

body.dark-mode .wmd-message-tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
}

/* --- Footer / Quote --- */
.wmd-message-footer {
    text-align: center;
}

.wmd-message-quote {
    background: white;
    border-radius: 16px;
    padding: 35px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 35px;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

body.dark-mode .wmd-message-quote {
    background: #34495e;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.wmd-message-quote .fa-quote-left,
.wmd-message-quote .fa-quote-right {
    color: var(--primary-color);
    font-size: 1.8rem;
    opacity: 0.5;
}

body.dark-mode .wmd-message-quote .fa-quote-left,
body.dark-mode .wmd-message-quote .fa-quote-right {
    color: var(--accent-color);
}

.wmd-message-quote .fa-quote-left {
    margin-right: 15px;
    vertical-align: top;
}

.wmd-message-quote .fa-quote-right {
    margin-left: 15px;
    vertical-align: bottom;
}

.wmd-message-quote p {
    display: inline;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--dark-color);
    font-weight: 500;
    max-width: 700px;
}

body.dark-mode .wmd-message-quote p {
    color: var(--light-color);
}

/* --- Buttons --- */
.wmd-message-actions {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.wmd-message-btn {
    padding: 14px 30px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.wmd-message-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.wmd-message-btn:active {
    transform: translateY(0);
}

.wmd-message-btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.wmd-message-btn-primary:hover {
    box-shadow: 0 8px 30px rgba(110, 72, 170, 0.4);
}

.wmd-message-btn-secondary {
    background: var(--light-color);
    color: var(--dark-color);
    border: 2px solid rgba(0, 0, 0, 0.1);
}

body.dark-mode .wmd-message-btn-secondary {
    background: #2c3e50;
    color: var(--light-color);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.wmd-message-btn-secondary:hover {
    border-color: var(--primary-color);
    background: rgba(110, 72, 170, 0.05);
}

body.dark-mode .wmd-message-btn-secondary:hover {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.05);
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .wmd-message-title {
        font-size: 2.2rem;
    }
    .wmd-message-title span {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .wmd-message-section {
        padding: 50px 0;
    }
    
    .wmd-message-title {
        font-size: 1.8rem;
    }
    .wmd-message-title span {
        font-size: 1.2rem;
    }
    
    .wmd-message-subtitle {
        font-size: 0.95rem;
        padding: 0 15px;
    }
    
    .wmd-message-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    
    .wmd-message-card {
        padding: 22px 20px;
    }
    
    .wmd-message-card h3 {
        font-size: 1.15rem;
    }
    
    .wmd-message-card p {
        font-size: 0.9rem;
    }
    
    .wmd-message-quote {
        padding: 25px 20px;
    }
    
    .wmd-message-quote p {
        font-size: 1rem;
    }
    
    .wmd-message-quote .fa-quote-left,
    .wmd-message-quote .fa-quote-right {
        font-size: 1.3rem;
    }
    
    .wmd-message-actions {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .wmd-message-btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .wmd-message-section {
        padding: 35px 0;
    }
    
    .wmd-message-title {
        font-size: 1.5rem;
    }
    .wmd-message-title span {
        font-size: 1rem;
    }
    
    .wmd-message-badge {
        font-size: 0.7rem;
        padding: 4px 14px;
    }
    
    .wmd-message-card {
        padding: 18px 16px;
        border-radius: 12px;
    }
    
    .wmd-message-card-icon {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
    }
    
    .wmd-message-card h3 {
        font-size: 1rem;
    }
    
    .wmd-message-card p {
        font-size: 0.85rem;
    }
    
    .wmd-message-tag {
        font-size: 0.65rem;
        padding: 3px 12px;
    }
    
    .wmd-message-quote {
        padding: 20px 15px;
    }
    
    .wmd-message-quote p {
        font-size: 0.9rem;
    }
    
    .wmd-message-btn {
        font-size: 0.85rem;
        padding: 10px 20px;
    }
}

@media (max-width: 360px) {
    .wmd-message-title {
        font-size: 1.3rem;
    }
    .wmd-message-title span {
        font-size: 0.9rem;
    }
    
    .wmd-message-card {
        padding: 14px 12px;
    }
    
    .wmd-message-card-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .wmd-message-card h3 {
        font-size: 0.9rem;
    }
    
    .wmd-message-card p {
        font-size: 0.8rem;
    }
    
    .wmd-message-quote p {
        font-size: 0.82rem;
    }
}

/* Single fix for all Good Habits paragraphs in dark mode */
body.dark-mode .good-habits-main p,
body.dark-mode .section-visible p,
body.dark-mode #good-habits p,
body.dark-mode .habit-item {
    color: #000000 !important;
}

/* Simple fix - Habit items white in dark mode */
body.dark-mode .habit-item,
body.dark-mode #good-habits .habit-item,
body.dark-mode .habit-list-container .habit-item {
    color: #ffffff !important;
}

/* ============================================
   COMPLETE FOOTER DARK MODE
   ============================================ */

/* 1. Footer Background */
body.dark-mode footer {
    background: linear-gradient(135deg, #1a1a2e, #2c3e50) !important;
    border-top: 2px solid rgba(255, 255, 255, 0.08);
}

/* 2. Footer Headings */
body.dark-mode footer .footer-column h3 {
    color: #ffffff !important;
}

body.dark-mode footer .footer-column h3::after {
    background: #ff6b6b !important;
}

/* 3. Footer Description Text */
body.dark-mode footer .footer-column p {
    color: #d0d0d0 !important;
}

body.dark-mode #footer-desc {
    color: #d0d0d0 !important;
}

/* 4. Footer Links */
body.dark-mode footer .footer-column ul li a {
    color: #b8b8b8 !important;
    transition: all 0.3s ease;
}

body.dark-mode footer .footer-column ul li a:hover {
    color: #ffffff !important;
    padding-left: 8px;
}

/* 5. Footer Bottom */
body.dark-mode .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.dark-mode .footer-bottom p {
    color: #b0b0b0 !important;
}

/* 6. Social Icons */
body.dark-mode .social-links a {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}

body.dark-mode .social-links a:hover {
    background: rgba(255, 255, 255, 0.18) !important;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

body.dark-mode .social-links a img {
    filter: brightness(0) invert(1);
}

/* 7. Footer Logo */
body.dark-mode .logo-below-footer img {
    filter: brightness(0.85) contrast(1.3);
}

/* 8. Copyright Text */
body.dark-mode #footer-copyright {
    color: #b0b0b0 !important;
}

/* 9. All Footer Links (general) */
body.dark-mode footer a {
    color: #b8b8b8 !important;
}

body.dark-mode footer a:hover {
    color: #ffffff !important;
}

.btn  a{
    text-decoration: none;
    color: white;
}

/* ============================================
     NEW IMAGE SECTION - COMPLETE STYLES
     ============================================ */

/* Main Section */
.hero-image-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    width: 100%;
    position: relative;
    overflow: hidden;
}

body.dark-mode .hero-image-section {
    background: linear-gradient(135deg, #2c3e50 0%, #4a235a 100%);
}

/* Image Wrapper */
.hero-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px 0;
}

/* Image Container - Fixed Size */
.hero-image-container {
    width: 600px;
    height: 500px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

body.dark-mode .hero-image-container {
    background: #34495e;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

.hero-image-container:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(110, 72, 170, 0.25);
}

body.dark-mode .hero-image-container:hover {
    box-shadow: 0 25px 60px rgba(255, 255, 255, 0.1);
}

/* Main Image */
.hero-main-image {
    width: 80%;
    height: 70%;
    object-fit: contain;
    object-position: center;
    transition: all 0.5s ease;
    padding: 20px;
}

.hero-image-container:hover .hero-main-image {
    transform: scale(1.05);
}

/* Image Content Below Image */
.hero-image-content {
    width: 100%;
    padding: 15px 30px 25px 30px;
    text-align: center;
    background: linear-gradient(to bottom, transparent, rgba(110, 72, 170, 0.05));
    border-top: 2px solid rgba(110, 72, 170, 0.1);
}

body.dark-mode .hero-image-content {
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.05));
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

/* Title Styling */
.hero-image-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 5px 0;
    color: var(--primary-color);
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

body.dark-mode .hero-image-title {
    background: linear-gradient(45deg, #ff9a9e, #a1c4fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtitle Styling */
.hero-image-subtitle {
    font-size: 1rem;
    color: #7f8c8d;
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.5px;
}

body.dark-mode .hero-image-subtitle {
    color: #bdc3c7;
}

/* ============================================
     RESPONSIVE STYLES
     ============================================ */

/* Tablet - Medium Screens */
@media (max-width: 992px) {
    .hero-image-container {
        width: 500px;
        height: 420px;
    }
    
    .hero-image-title {
        font-size: 1.6rem;
    }
    
    .hero-image-subtitle {
        font-size: 0.95rem;
    }
}

/* Mobile - Small Screens */
@media (max-width: 768px) {
    .hero-image-section {
        padding: 30px 0;
    }
    
    .hero-image-container {
        width: 95%;
        max-width: 500px;
        height: 400px;
        border-radius: 15px;
    }
    
    .hero-main-image {
        width: 75%;
        height: 65%;
        padding: 15px;
    }
    
    .hero-image-content {
        padding: 12px 20px 20px 20px;
    }
    
    .hero-image-title {
        font-size: 1.4rem;
    }
    
    .hero-image-subtitle {
        font-size: 0.9rem;
    }
}

/* Mobile - Extra Small Screens */
@media (max-width: 480px) {
    .hero-image-section {
        padding: 20px 0;
    }
    
    .hero-image-wrapper {
        padding: 10px 0;
    }
    
    .hero-image-container {
        width: 98%;
        max-width: 400px;
        height: 350px;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    }
    
    .hero-main-image {
        width: 70%;
        height: 60%;
        padding: 10px;
    }
    
    .hero-image-content {
        padding: 10px 15px 18px 15px;
    }
    
    .hero-image-title {
        font-size: 1.2rem;
    }
    
    .hero-image-subtitle {
        font-size: 0.8rem;
    }
}

/* Mobile - Very Small Screens */
@media (max-width: 360px) {
    .hero-image-container {
        width: 98%;
        max-width: 320px;
        height: 280px;
        border-radius: 10px;
    }
    
    .hero-main-image {
        width: 65%;
        height: 55%;
        padding: 8px;
    }
    
    .hero-image-content {
        padding: 8px 10px 14px 10px;
    }
    
    .hero-image-title {
        font-size: 1rem;
    }
    
    .hero-image-subtitle {
        font-size: 0.7rem;
    }
}

/* Landscape Mobile */
@media (max-height: 600px) and (orientation: landscape) {
    .hero-image-container {
        height: 300px;
        width: 80%;
        max-width: 500px;
    }
    
    .hero-main-image {
        height: 55%;
        width: 65%;
    }
    
    .hero-image-content {
        padding: 8px 20px 12px 20px;
    }
    
    .hero-image-title {
        font-size: 1.2rem;
    }
    
    .hero-image-subtitle {
        font-size: 0.8rem;
    }
}

/* Large Screens - 1200px and above */
@media (min-width: 1200px) {
    .hero-image-container {
        width: 650px;
        height: 550px;
    }
    
    .hero-image-title {
        font-size: 2rem;
    }
    
    .hero-image-subtitle {
        font-size: 1.1rem;
    }
}

/* 4K Screens */
@media (min-width: 2000px) {
    .hero-image-container {
        width: 800px;
        height: 650px;
    }
    
    .hero-image-title {
        font-size: 2.4rem;
    }
    
    .hero-image-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-main-image {
        width: 75%;
        height: 70%;
    }
}

/* Dark Mode Specific Overrides */
body.dark-mode .hero-image-container:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(110, 72, 170, 0.2);
}

/* Hover Effects */
.hero-image-container {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-main-image {
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-image-title {
    transition: all 0.3s ease;
}

.hero-image-container:hover .hero-image-title {
    letter-spacing: 2px;
}

/* Animation on load */
@keyframes imageFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.hero-image-container {
    animation: imageFadeIn 0.8s ease forwards;
}

/* Add smooth scroll behavior */
html {
    scroll-behavior: smooth;
}