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

 :root {
   --primary-blue: #6B93D6;
   --soft-green: #7DCEA0;
   --light-purple: #BB8FCE;
   --warm-gray: #F8F9FA;
   --text-dark: #2C3E50;
   --text-light: #5D6D7E;
   --background: #FFFFFF;
   --card-bg: #FFFFFF;
   --shadow: rgba(108, 147, 214, 0.1);
   --accent: #52C4B0;
   --error: #E74C3C;
   --success: #27AE60;
 }

 [data-theme="dark"] {
   --background: #1A1A2E;
   --card-bg: #16213E;
   --warm-gray: #0F3460;
   --text-dark: #EAEAEA;
   --text-light: #B8B8B8;
   --shadow: rgba(0, 0, 0, 0.3);
 }

 /* Dark Mode Section Overrides */
 [data-theme="dark"] .about-section {
   background-color: var(--background);
 }

 [data-theme="dark"] .about-text h2 {
   color: var(--text-dark);
 }

 [data-theme="dark"] .about-text p {
   color: var(--text-light);
 }

 [data-theme="dark"] .learn-btn {
   color: var(--primary-white);
 }

 [data-theme="dark"] .why-choose-us {
   background-color: var(--background);
 }

 [data-theme="dark"] .why-choose-us h2 {
   color: var(--text-dark);
 }

 [data-theme="dark"] .feature-card {
   background: transparent;
   box-shadow: none;
   border: 1px solid rgba(255, 255, 255, 0.1);
 }

 [data-theme="dark"] .feature-card h3 {
   color: var(--text-dark);
 }

 [data-theme="dark"] .feature-card p {
   color: var(--text-light);
 }

 [data-theme="dark"] .newsletter-section {
   background-color: var(--background);
 }

 [data-theme="dark"] .newsletter-section h2 {
   color: var(--text-dark);
 }

 [data-theme="dark"] .newsletter-subtext {
   color: var(--text-light);
 }

 [data-theme="dark"] .newsletter-form input[type="email"] {
   background: var(--card-bg);
   border-color: var(--warm-gray);
   color: var(--text-dark);
 }

 [data-theme="dark"] .newsletter-form input[type="email"]::placeholder {
   color: var(--text-light);
 }

 [data-theme="dark"] .success-message {
   color: var(--text-dark);
 }

 [data-theme="dark"] .site-footer {
   background-color: #0D0D1A;
 }

 [data-theme="dark"] .about-cta:hover {
   color: #ffffff;
 }

 [data-theme="dark"] .about-section ul li {
   color: var(--text-light);
 }


 body {
   font-family: 'Poppins', sans-serif;
   background: var(--background);
   color: var(--text-dark);
   transition: all 0.3s ease;
 }

 .app-container {
   max-width: 100%;
   min-height: 100vh;
   display: flex;
   flex-direction: column;
 }

 /* Header */
 .header {
   background: var(--primary-blue);
   padding: 0.7rem 1.2rem;
   display: flex;
   justify-content: space-between;
   align-items: center;
   box-shadow: 0 2px 20px var(--shadow);
 }

 /* Logo Wrapper */
 .logo {
   display: flex;
   align-items: center;
   gap: 0.6rem;
   color: white;
   font-weight: 600;
   font-size: 1.25rem;
   text-decoration: none;
 }

 /* Only remove underline from links */
 a {
   text-decoration: none;
 }

 /* Perfect logo size */
 .logo-img {
   width: 38px;
   /* Adjust based on your design */
   height: 38px;
   object-fit: cover;
   border-radius: 50%;
   /* Make circular (optional) */
 }

 /* Optional: make logo text smoother */
 .logo-text {
   font-size: 1.2rem;
 }

 /* Nav Icons */
 .nav-icons {
   display: flex;
   gap: 1rem;
   align-items: center;
 }

 .icon-btn {
   background: rgba(255, 255, 255, 0.2);
   border: none;
   border-radius: 50%;
   width: 40px;
   height: 40px;
   display: flex;
   align-items: center;
   justify-content: center;
   color: white;
   cursor: pointer;
   transition: all 0.3s ease;
   backdrop-filter: blur(10px);
 }

 .icon-btn:hover {
   background: rgba(255, 255, 255, 0.3);
   transform: translateY(-2px);
 }

 /* Account Menu Styles */
 .account-dropdown-container {
   position: relative;
 }

 .icon-btn.active {
   background: white !important;
   color: var(--primary-blue) !important;
   opacity: 1;
   box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
 }

 .account-menu {
   position: absolute;
   top: 120%;
   right: 0;
   width: 280px;
   background: var(--card-bg);
   border-radius: 16px;
   box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
   padding: 0.5rem;
   opacity: 0;
   visibility: hidden;
   transform: translateY(-10px);
   transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
   z-index: 1000;
   border: 1px solid rgba(107, 147, 214, 0.1);
 }

 .account-menu.active {
   opacity: 1;
   visibility: visible;
   transform: translateY(0);
 }

 .account-header-info {
   padding: 1rem;
   background: linear-gradient(135deg, rgba(107, 147, 214, 0.1), rgba(187, 143, 206, 0.1));
   border-radius: 12px;
   margin-bottom: 0.5rem;
   text-align: center;
 }

 .user-name {
   font-weight: 600;
   color: var(--text-dark);
   margin-bottom: 0.25rem;
 }

 .user-email {
   font-size: 0.85rem;
   color: var(--text-light);
   word-break: break-all;
 }

 .menu-item {
   display: flex;
   align-items: center;
   gap: 12px;
   padding: 12px 16px;
   color: var(--text-dark);
   text-decoration: none;
   border-radius: 12px;
   transition: all 0.2s ease;
   font-weight: 500;
   border: none;
   background: none;
   width: 100%;
   text-align: left;
   font-size: 0.95rem;
   cursor: pointer;
 }

 .menu-item:hover {
   background: rgba(107, 147, 214, 0.1);
   color: var(--primary-blue);
 }

 .menu-divider {
   height: 1px;
   background: rgba(0, 0, 0, 0.05);
   margin: 4px 0;
 }

 [data-theme="dark"] .menu-divider {
   background: rgba(255, 255, 255, 0.1);
 }

 /* Professional Theme Toggle */
 .theme-toggle-btn {
   background: transparent;
   border: none;
   cursor: pointer;
   padding: 0;
   display: flex;
   align-items: center;
 }

 .theme-toggle-track {
   position: relative;
   width: 60px;
   height: 30px;
   background: rgba(255, 255, 255, 0.2);
   border-radius: 20px;
   display: flex;
   align-items: center;
   justify-content: space-between;
   padding: 0 8px;
   backdrop-filter: blur(10px);
   transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
   box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
 }

 .theme-toggle-track:hover {
   background: rgba(255, 255, 255, 0.3);
   transform: scale(1.05);
 }

 .theme-icon {
   font-size: 14px;
   z-index: 1;
   transition: all 0.3s ease;
   display: flex;
   align-items: center;
   justify-content: center;
 }

 .theme-icon.sun {
   opacity: 0.5;
 }

 .theme-icon.moon {
   opacity: 1;
 }

 .theme-toggle-thumb {
   position: absolute;
   right: 4px;
   width: 24px;
   height: 24px;
   background: #ffffff;
   border-radius: 50%;
   transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
   box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.1);
 }

 /* Dark mode styles for toggle */
 [data-theme="dark"] .theme-toggle-track {
   background: rgba(0, 0, 0, 0.4);
 }

 [data-theme="dark"] .theme-icon.sun {
   opacity: 1;
 }

 [data-theme="dark"] .theme-icon.moon {
   opacity: 0.5;
 }

 [data-theme="dark"] .theme-toggle-thumb {
   right: calc(100% - 28px);
   background: var(--primary-blue);
   box-shadow: 0 3px 8px rgba(107, 147, 214, 0.4), 0 1px 3px rgba(107, 147, 214, 0.2);
 }

 /* Navigation */
 .bottom-nav {
   position: fixed;
   bottom: 0;
   left: 0;
   right: 0;
   background: var(--card-bg);
   padding: 0.5rem 0; padding-bottom: calc(0.5rem + env(safe-area-inset-bottom, 0px));
   display: flex;
   justify-content: space-around;
   box-shadow: 0 -2px 20px var(--shadow);
   border-top: 1px solid rgba(107, 147, 214, 0.1);
   z-index: 1000;
 }

 .nav-item {
   display: flex;
   flex-direction: column;
   align-items: center;
   padding: 0.5rem;
   border-radius: 12px;
   cursor: pointer;
   transition: all 0.3s ease;
   color: var(--text-light);
   text-decoration: none;
   min-width: 60px;
 }

 .nav-item.active {
   background: var(--primary-blue);
   color: white;
   transform: translateY(-2px);
 }

 .nav-item:hover:not(.active) {
   background: var(--warm-gray);
   color: var(--primary-blue);
 }

 .nav-icon {
   font-size: 1.2rem;
   margin-bottom: 0.25rem;
   filter: drop-shadow(1px 3px 2px rgba(0, 0, 0, 0.25));
 }

 .nav-icon svg {
   stroke-width: 2.2;
 }

 .nav-label {
   font-size: 0.7rem;
   font-weight: 500;
 }

 /* About us */
 .about-section {
   background-color: #ffffff;
   padding: 64px 24px 64px 24px;
   border-radius: 10px;
   margin-bottom: 26px;
   margin-top: 26px;
 }

 .about-content {
   max-width: 1240px;
   margin: 0 auto;
   display: flex;
   flex-direction: row;
   align-items: center;
   gap: 48px;
   opacity: 0;
   transform: translateY(60px);
   animation: fadeInUp 0.6s ease-out forwards;
 }

 .about-text {
   flex: 1;

 }

 .about-text h2 {
   font-family: 'Urbanist', sans-serif;
   font-weight: 700;
   font-size: 36px;
   color: linear-gradient(135deg, var(--primary-blue), var(--light-purple));
   ;
   margin-bottom: 24px;
 }

 .about-text p {
   font-size: 18px;
   line-height: 1.6;
   color: #7A7A7A;
   margin-bottom: 24px;
 }

 .about-cta {
   display: inline-block;
   padding: 10px 24px;
   font-size: 16px;
   font-weight: 600;
   color: var(--primary-blue);
   border: 1.5px solid var(--primary-blue);
   border-radius: 10px;
   text-decoration: none;
   transition: all 0.3s ease;
 }

 .about-cta:hover {
   background-color: var(--primary-blue);
   color: #ffffff;
 }

 .learn-btn {
   border: none;
   background: none;
   color: white;
   cursor: pointer;
   font-size: 16px;
   padding: 5px 0;
   text-decoration: none;
 }

 .learn-btn:hover {
   text-decoration: underline;
 }

 .about-image {
   flex: 1;
 }

 .about-image img {
   width: 100%;
   border-radius: 12px;
   object-fit: cover;
   aspect-ratio: 4 / 3;
   transition: transform 0.5s ease;
 }

 .about-image img:hover {
   transform: scale(1.03);
 }

 @keyframes fadeInUp {
   to {
     opacity: 1;
     transform: translateY(0);
   }
 }

 /* Responsive Layout */
 @media (max-width: 1023px) {
   .about-content {
     flex-direction: column;
   }

   .about-image {
     order: 2;
     margin-top: 32px;
   }

   .about-text h2 {
     font-size: 28px;
   }

   .about-text p {
     font-size: 16px;
   }

   .about-cta {
     display: block;
     text-align: center;
     width: fit-content;
     margin: 0 auto;
   }
 }

 /* Main Content */
 .main-content {
   flex: 1;
   padding: 1rem;
   padding-bottom: 100px;
   max-width: 100%;

 }

 .screen {
   display: none;
   animation: fadeIn 0.5s ease;
 }

 .screen.active {
   display: block;
 }

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

   to {
     opacity: 1;
     transform: translateY(0);
   }
 }

 /* Welcome Screen */
 .welcome-card {
   background: var(--card-bg);
   border-radius: 20px;
   padding: 2rem;
   margin-bottom: 1.5rem;
   box-shadow: 0 8px 32px var(--shadow);
   text-align: center;
 }

 .welcome-title {
   font-size: 1.8rem;
   font-weight: 600;
   margin-bottom: 0.5rem;
   background: var(--primary-blue);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   background-clip: text;
 }

 .welcome-subtitle {
   color: var(--text-light);
   margin-bottom: 1.5rem;
   font-size: 1rem;
 }

 .mood-quick-log {
   display: flex;
   justify-content: center;
   gap: 1rem;
   margin: 1.5rem 0;
   flex-wrap: wrap;
 }

 .mood-emoji {
   background: var(--warm-gray);
   border: 3px solid transparent;
   border-radius: 50%;
   width: 60px;
   height: 60px;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 1.8rem;
   cursor: pointer;
   transition: all 0.3s ease;
 }

 .mood-emoji:hover {
   transform: scale(1.1);
   border-color: var(--primary-blue);
   box-shadow: 0 4px 20px var(--shadow);
 }

 .mood-emoji.selected {
   background: var(--primary-blue);
   border-color: var(--primary-blue);
   transform: scale(1.1);
 }

 /* Cards */
 .card {
   background: var(--card-bg);
   border-radius: 16px;
   padding: 1.5rem;
   margin-bottom: 1rem;
   box-shadow: 0 4px 20px var(--shadow);
   border: 1px solid rgba(107, 147, 214, 0.1);
   transition: all 0.3s ease;
 }

 .card:hover {
   transform: translateY(-2px);
   box-shadow: 0 8px 32px var(--shadow);
 }

 .card-title {
   font-weight: 600;
   margin-bottom: 0.5rem;
   display: flex;
   align-items: center;
   gap: 0.5rem;
 }

 /* Mood Logging Screen */
 .mood-input-section {
   margin-bottom: 1.5rem;
 }

 .input-group {
   margin-bottom: 1rem;
 }

 .input-label {
   display: block;
   margin-bottom: 0.5rem;
   font-weight: 500;
   color: var(--text-dark);
 }

 .text-input {
   width: 100%;
   padding: 1rem;
   border: 2px solid rgba(107, 147, 214, 0.2);
   border-radius: 12px;
   background: var(--card-bg);
   color: var(--text-dark);
   font-family: inherit;
   resize: vertical;
   min-height: 100px;
   transition: all 0.3s ease;
 }

 .text-input:focus {
   outline: none;
   border-color: var(--primary-blue);
   box-shadow: 0 0 0 3px rgba(107, 147, 214, 0.1);
 }

 .voice-btn {
   background: var(--primary-blue);
   color: white;
   border: none;
   border-radius: 50%;
   width: 60px;
   height: 60px;
   display: flex;
   align-items: center;
   justify-content: center;
   cursor: pointer;
   font-size: 1.5rem;
   margin: 1rem auto;
   transition: all 0.3s ease;
 }

 .voice-btn:hover {
   transform: scale(1.1);
   box-shadow: 0 8px 32px rgba(82, 196, 176, 0.3);
 }

 .voice-btn.recording {
   animation: pulse 1.5s infinite;
   background: var(--error);
 }

 @keyframes pulse {

   0%,
   100% {
     transform: scale(1);
   }

   50% {
     transform: scale(1.05);
   }
 }

 /* ========== ABOUT SECTION (FULL WIDTH) ========== */

 .about ul {
   margin-top: 20px;
   padding-left: 18px;
 }

 .about ul li {
   color: grey;
   margin-bottom: 10px;
   line-height: 1.6;
 }

 /* BUTTON */
 .learn-btn {
   margin-top: 28px;
   padding: 14px 30px;
   border-radius: 35px;
   background: var(--primary-blue);
   color: #ffffff;
   border: none;
   font-weight: 300;
   cursor: pointer;

   transition: transform 0.2s ease, box-shadow 0.2s ease;
 }

 .learn-btn:hover {
   transform: translateY(-3px);
   text-decoration: none;
   box-shadow: 0 10px 20px rgba(47, 129, 247, 0.4);
 }

 /* IMAGE FLOATING ONLY */
 .about-image {
   display: flex;
   justify-content: center;
   align-items: center;

 }

 .about-image img {
   width: 100%;
   max-width: 420px;
   border-radius: 50px;
   animation: imageFloat 6s ease-in-out infinite;
 }

 /* FLOAT ANIMATION */
 @keyframes imageFloat {
   0% {
     transform: translateY(0);
   }

   50% {
     transform: translateY(-18px);
   }

   100% {
     transform: translateY(0);
   }
 }

 /* RESPONSIVE */
 @media (max-width: 900px) {
   .about-section {
     padding: 80px 6%;
   }

   .about-content {
     grid-template-columns: 1fr;
     text-align: center;
     gap: 60px;
   }

   .about p {
     margin: 0 auto;
   }

   .about ul {
     text-align: left;
     display: inline-block;
   }

   .about-text h2 {
     font-size: 32px;
   }

   .about-image img {
     max-width: 300px;
   }
 }

 /* =========================
   AI CHAT HERO CARD (UPDATED)
========================= */

 .ai-chat-card {
   background: var(--card-bg);
   border-radius: 22px;
   padding: 32px;
   display: flex;
   align-items: center;
   margin-bottom: 20px;
   gap: 100px;
   /* INCREASE SPACE BETWEEN IMAGE & TEXT */

   box-shadow: 0 8px 32px var(--shadow);
 }

 /* LEFT IMAGE BIGGER */

 .ai-chat-visual {
   flex: 0 0 280px;
   /* INCREASE IMAGE CONTAINER SIZE */
   height: 280px;

   display: flex;
   align-items: center;
   justify-content: center;

   position: relative;
 }

 .ai-chat-visual img {
   width: 100%;
   height: auto;
   object-fit: contain;

   animation: floatRobot 4s ease-in-out infinite;
 }

 /* RIGHT CONTENT */

 .ai-chat-content {
   flex: 1;
 }

 .card-title {
   font-size: 24px;
   /* Slightly bigger heading */
   font-weight: 600;
   margin-bottom: 12px;
 }

 .card-desc {
   color: var(--text-light);
   font-size: 15px;
   margin-bottom: 20px;
   line-height: 1.6;
 }

 /* Floating Animation */

 @keyframes floatRobot {

   0%,
   100% {
     transform: translateY(0) scale(1);
   }

   50% {
     transform: translateY(-12px) scale(1.03);
     /* Added subtle breathing effect */
   }
 }

 /* =========================
   MOBILE RESPONSIVE
========================= */

 @media (max-width: 768px) {

   .ai-chat-card {
     flex-direction: column;
     text-align: center;
     gap: 24px;
   }

   .card-title {
     text-align: center;
   }


   .ai-chat-visual {
     width: 220px;
     height: 220px;
   }

 }


 /* ========== MENTOR SECTION (THEME APPLIED) ========== */

 .mentor-section {
   padding: 90px 6%;
   color: var(--text-dark);
   text-align: center;
 }

 .mentor-section h2 {
   font-size: 36px;
   margin-bottom: 12px;
   color: var(--text-dark);
 }

 .mentor-subtitle {
   color: var(--text-light);
   max-width: 560px;
   margin: 0 auto 50px;
 }

 /* GRID */
 .mentor-grid {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   gap: 28px;
 }

 /* CARD */
 .mentor-card {
   background: var(--card-bg);
   border-radius: 18px;
   padding: 26px 20px;
   box-shadow: 0 16px 40px var(--shadow);
   transition: transform 0.25s ease, box-shadow 0.25s ease;
   cursor: pointer;
   position: relative;
   overflow: hidden;
 }

 .mentor-card:hover {
   transform: translateY(-6px);
   box-shadow: 0 28px 60px rgba(108, 147, 214, 0.18);
 }

 /* Chat with Mentor Button - Hidden by default, shown on hover */
 .mentor-chat-btn {
   position: absolute;
   bottom: 0;
   left: 0;
   right: 0;
   background: linear-gradient(135deg, var(--primary-blue), var(--light-purple));
   color: white;
   border: none;
   padding: 12px 20px;
   font-weight: 600;
   font-size: 14px;
   cursor: pointer;
   transform: translateY(100%);
   transition: transform 0.3s ease;
   font-family: inherit;
 }

 .mentor-card:hover .mentor-chat-btn {
   transform: translateY(0);
 }

 .mentor-chat-btn:hover {
   background: linear-gradient(135deg, var(--light-purple), var(--primary-blue));
 }

 /* IMAGE */
 .mentor-card img {
   width: 100%;
   height: 220px;
   object-fit: cover;
   border-radius: 14px;
   margin-bottom: 18px;
 }

 /* TEXT */
 .mentor-card h3 {
   font-size: 18px;
   margin-bottom: 6px;
   color: var(--text-dark);
 }

 .mentor-card span {
   font-size: 14px;
   color: var(--text-light);
 }

 /* ACCENT (OPTIONAL STATUS TAG) */
 .mentor-card::after {
   content: "";
   display: block;
   width: 36px;
   height: 4px;
   background: var(--primary-blue);
   border-radius: 4px;
   margin: 16px auto 0;
 }

 /* RESPONSIVE */
 @media (max-width: 1100px) {
   .mentor-grid {
     grid-template-columns: repeat(2, 1fr);
   }
 }

 @media (max-width: 600px) {
   .mentor-grid {
     grid-template-columns: 1fr;
   }

   .mentor-section h2 {
     font-size: 30px;
   }
 }

 /* Analytics Dashboard */
 .analytics-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
   gap: 1rem;
   margin-bottom: 2rem;
 }

 .chart-container {
   background: var(--card-bg);
   border-radius: 16px;
   padding: 1.5rem;
   box-shadow: 0 4px 20px var(--shadow);
   border: 1px solid rgba(107, 147, 214, 0.1);
 }

 .chart-title {
   font-weight: 600;
   margin-bottom: 1rem;
   color: var(--text-dark);
 }

 .mood-chart {
   width: 100%;
   height: 200px;
   display: flex;
   align-items: end;
   gap: 0.5rem;
   padding: 1rem 0;
 }

 .chart-bar {
   flex: 1;
   background: var(--primary-blue);
   border-radius: 4px 4px 0 0;
   min-height: 20px;
   position: relative;
   transition: all 0.3s ease;
   cursor: pointer;
 }

 .chart-bar:hover {
   transform: scaleY(1.05);
   box-shadow: 0 4px 12px var(--shadow);
 }

 .chart-label {
   position: absolute;
   bottom: -25px;
   left: 50%;
   transform: translateX(-50%);
   font-size: 0.75rem;
   color: var(--text-light);
 }

 /* Wellness Resources */
 .resource-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 1rem;
   max-width: 1240px;
   margin: 0 auto;
   padding: 0 24px;
   background-color: transparent;
 }

 @media (max-width: 1200px) {
   .resource-grid {
     grid-template-columns: repeat(3, 1fr);
   }
 }

 @media (max-width: 900px) {
   .resource-grid {
     grid-template-columns: repeat(2, 1fr);
   }
 }

 @media (max-width: 600px) {
   .resource-grid {
     grid-template-columns: 1fr;
     padding: 0 32px;
   }
 }

 .resource-card {
   background: rgba(255, 255, 255, 0.05);
   backdrop-filter: blur(12px);
   -webkit-backdrop-filter: blur(12px);
   border-radius: 16px;
   padding: 1.5rem;
   box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
   border: 1px solid rgba(255, 255, 255, 0.1);
   transition: all 0.3s ease;
   cursor: pointer;
 }

 .resource-card:hover {
   transform: translateY(-4px);
   box-shadow: 0 12px 40px var(--shadow);
 }

 .resource-icon {
   width: 64px;
   height: 64px;
   background: linear-gradient(135deg, rgba(107, 147, 214, 0.15) 0%, rgba(187, 143, 206, 0.15) 100%);
   border: 1px solid rgba(107, 147, 214, 0.2);
   border-radius: 18px;
   display: flex;
   align-items: center;
   justify-content: center;
   margin-bottom: 1.25rem;
   box-shadow: 0 4px 15px var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
   transition: transform 0.3s ease;
 }

 .resource-card:hover .resource-icon {
   transform: scale(1.08) rotate(3deg);
   background: linear-gradient(135deg, rgba(107, 147, 214, 0.25) 0%, rgba(187, 143, 206, 0.25) 100%);
 }

 /* Buttons */
 .btn {
   background: var(--primary-blue);
   color: white;
   border: none;
   padding: 0.875rem 2rem;
   border-radius: 25px;
   font-weight: 500;
   cursor: pointer;
   transition: all 0.3s ease;
   font-family: inherit;
   font-size: 1rem;
 }

 .btn:hover {
   transform: translateY(-2px);
   box-shadow: 0 8px 32px rgba(107, 147, 214, 0.3);
 }

 .btn-secondary {
   background: var(--warm-gray);
   color: var(--text-dark);
 }

 .btn-secondary:hover {
   background: rgba(107, 147, 214, 0.1);
 }

 /* Utility Classes */
 .text-center {
   text-align: center;
 }

 .mt-1 {
   margin-top: 1rem;
 }

 .mb-1 {
   margin-bottom: 1rem;
 }

 .flex {
   display: flex;
 }

 .flex-center {
   display: flex;
   align-items: center;
   justify-content: center;
 }

 .gap-1 {
   gap: 1rem;
 }

 .hidden {
   display: none;
 }

 /* Success/Error Messages */
 .message-banner {
   padding: 1rem;
   border-radius: 12px;
   margin-bottom: 1rem;
   text-align: center;
   font-weight: 500;
 }

 .message-success {
   background: rgba(39, 174, 96, 0.1);
   color: var(--success);
   border: 1px solid rgba(39, 174, 96, 0.2);
 }

 .message-error {
   background: rgba(231, 76, 60, 0.1);
   color: var(--error);
   border: 1px solid rgba(231, 76, 60, 0.2);
 }

 /*why choose us*/
 .why-choose-us {
   padding: 80px 0;
 }

 .why-choose-us .container {
   max-width: 1240px;
   margin: 0 auto;
   padding: 0 24px;
 }

 .why-choose-us h2 {
   font-family: 'Urbanist', sans-serif;
   font-weight: 700;
   font-size: 36px;
   color: #2B2B2B;
   text-align: center;
   margin-bottom: 32px;
 }

 .features-grid {
   display: grid;
   gap: 32px;
   grid-template-columns: repeat(4, 1fr);
 }

 .feature-card {
   background: transparent;
   border: 1px solid rgba(255, 255, 255, 0.1);
   border-radius: 12px;
   padding: 24px;
   box-shadow: none;
   text-align: center;
   transition: transform 0.3s ease, box-shadow 0.3s ease;
   opacity: 0;
   transform: translateY(40px);
   animation: fadeUp 0.8s ease forwards;
 }

 .feature-card:nth-child(1) {
   animation-delay: 0.1s;
 }

 .feature-card:nth-child(2) {
   animation-delay: 0.3s;
 }

 .feature-card:nth-child(3) {
   animation-delay: 0.5s;
 }

 .feature-card:nth-child(4) {
   animation-delay: 0.7s;
 }

 .feature-card:hover {
   transform: scale(1.03);
   box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
 }

 .icon-wrapper {
   width: 48px;
   height: 48px;
   margin: 0 auto 16px;
 }

 .icon-wrapper img {
   width: 100%;
   height: auto;
   filter: drop-shadow(0 2px 4px rgba(197, 197, 197, 0.3));
 }

 .feature-card h3 {
   font-size: 18px;
   margin-bottom: 8px;
   color: #2B2B2B;
 }

 .feature-card p {
   font-size: 14px;
   color: #7A7A7A;
   line-height: 1.5;
 }

 @keyframes fadeUp {
   to {
     opacity: 1;
     transform: translateY(0);
   }
 }

 @media (max-width: 768px) {
   .features-grid {
     grid-template-columns: 1fr;
   }

   .why-choose-us {
     padding: 64px 16px;
   }

   .why-choose-us h2 {
     font-size: 24px;
   }

   .icon-wrapper {
     width: 40px;
     height: 40px;
   }
 }

 /*newsletter-sign-up*/
 .newsletter-section {
   background-color: var(--background);
   padding: 64px 24px;
 }

 .newsletter-container {
   max-width: 640px;
   margin: 0 auto;
   text-align: center;
 }

 .newsletter-section h2 {
   font-family: 'Urbanist', sans-serif;
   font-weight: 700;
   font-size: 32px;
   color: #2B2B2B;
   margin-bottom: 16px;
 }

 .newsletter-subtext {
   font-family: 'Urbanist', sans-serif;
   font-size: 16px;
   color: #7A7A7A;
   margin-bottom: 32px;
 }

 .newsletter-form {
   display: flex;
   justify-content: center;
   gap: 16px;
   flex-wrap: wrap;
 }

 .newsletter-form input[type="email"] {
   flex: 1 1 300px;
   height: 48px;
   padding: 0 16px;
   border: 1px solid #D1D5DB;
   border-radius: 8px;
   font-size: 16px;
   transition: border-color 0.3s ease;
 }

 .newsletter-form input[type="email"]:focus {
   border-color: #D13F2D;
   outline: none;
 }

 .newsletter-form button {
   background-color: #D13F2D;
   color: #FFFFFF;
   font-family: 'Urbanist', sans-serif;
   font-weight: 600;
   font-size: 16px;
   padding: 12px 32px;
   border: none;
   border-radius: 10px;
   cursor: pointer;
   transition: all 0.3s ease;
 }

 .newsletter-form button:hover {
   background-color: #B53022;
   transform: scale(1.03);
 }

 .success-message {
   margin-top: 24px;
   color: #2B2B2B;
   font-family: 'Urbanist', sans-serif;
   font-size: 16px;
 }

 .visually-hidden {
   position: absolute !important;
   height: 1px;
   width: 1px;
   overflow: hidden;
   clip: rect(1px, 1px, 1px, 1px);
   white-space: nowrap;
 }

 @media (max-width: 767px) {
   .newsletter-section h2 {
     font-size: 22px;
   }

   .newsletter-form {
     flex-direction: column;
   }

   .newsletter-form input,
   .newsletter-form button {
     width: 100%;
   }

   .newsletter-form input[type="email"] {
     flex: none;
   }
 }

 /* ============================
   FAQ SECTION — MINDMATE UI
============================ */

 /* Container */
 .faq-section {
   max-width: 900px;
   margin: 60px auto;
   padding: 0 20px;
 }

 /* Title */
 .faq-title {
   text-align: center;
   font-size: 2.2rem;
   font-weight: 700;
   margin-bottom: 48px;
   color: var(--text-dark);
 }

 /* FAQ List */
 .faq-container {
   display: flex;
   flex-direction: column;
   gap: 16px;
 }

 /* FAQ Item */
 .faq-item {
   background: var(--card-bg);
   border-radius: 12px;
   border: 1px solid #E5E7EB;
   overflow: hidden;
   transition: all 0.2s ease-in-out;
   box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
 }

 .faq-item:hover {
   box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
   border-color: #D1D5DB;
 }

 .faq-item.active {
   border-color: var(--primary-blue);
   box-shadow: 0 4px 12px rgba(107, 147, 214, 0.1);
 }

 /* Question Button */
 .faq-question {
   width: 100%;
   padding: 20px 24px;
   background: transparent;
   border: none;
   display: flex;
   align-items: center;
   justify-content: space-between;
   cursor: pointer;
   text-align: left;
   color: var(--text-dark);
   font-size: 1.05rem;
   font-weight: 600;
   font-family: inherit;
   transition: color 0.2s ease;
 }

 .faq-item.active .faq-question {
   color: var(--primary-blue);
 }

 /* Question Text Wrapper */
 .question-text {
   position: relative;
   display: flex;
   align-items: center;
 }

 .dot {
   display: none;
 }

 /* Arrow Icon */
 .arrow {
   font-size: 20px;
   color: #9CA3AF;
   transition: transform 0.3s ease, color 0.2s ease;
   display: flex;
   align-items: center;
   justify-content: center;
 }

 .faq-question:hover .arrow {
   color: var(--text-dark);
 }

 /* Answer Container */
 .faq-answer {
   height: 0;
   overflow: hidden;
   padding: 0 24px;
   font-size: 0.95rem;
   color: var(--text-light);
   line-height: 1.6;
   transition: height 0.3s ease, padding 0.3s ease;
   border-top: 0 solid #E5E7EB;
 }

 /* Active State */
 .faq-item.active .arrow {
   transform: rotate(180deg);
   color: var(--primary-blue);
 }

 .faq-item.active .faq-question {
   color: var(--primary-blue);
 }

 /* Active Answer Spacing */
 .faq-item.active .faq-answer {
   padding-bottom: 20px;
   padding-top: 4px;
   border-top-width: 1px;
 }

 /* Accessibility */
 .faq-question:focus-visible {
   outline: 2px solid var(--primary-blue);
   outline-offset: 2px;
   border-radius: 12px;
 }

 /* Dark Mode FAQ */
 [data-theme="dark"] .faq-item {
   border-color: rgba(107, 147, 214, 0.2);
 }

 [data-theme="dark"] .faq-item:hover {
   border-color: var(--primary-blue);
 }

 [data-theme="dark"] .faq-title {
   -webkit-text-fill-color: transparent;
 }

 /* Mobile Optimization */
 @media (max-width: 600px) {
   .faq-title {
     font-size: 1.5rem;
   }

   .faq-question {
     font-size: 0.9rem;
     padding: 16px 18px;
   }

   .faq-answer {
     font-size: 0.85rem;
     padding-left: 18px;
     padding-right: 18px;
   }

   .question-text {
     padding-left: 20px;
   }
 }

 /*footer*/

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

 body {
   font-family: 'Urbanist', sans-serif;
 }

 .site-footer {
   background-color: #1E1E1E;
   color: #F3F4F6;
   padding: 40px 24px 16px;
   margin-left: -1rem;
   margin-right: -1rem;
   margin-bottom: -100px;
   width: calc(100% + 2rem);
 }

 .footer-container {
   max-width: 1240px;
   margin: 0 auto;
   display: flex;
   flex-wrap: wrap;
   gap: 40px;
   justify-content: space-between;
 }

 .footer-brand {
   flex: 1 1 200px;
 }

 .footer-logo {
   max-width: 180px;
   height: auto;
   border-radius: 50px;
 }

 .brand-line {
   font-weight: 400;
   font-size: 14px;
   color: #D1D5DB;
   margin-top: 12px;
   margin-left: 30px;
 }

 .footer-nav,
 .footer-contact,
 .footer-social {
   flex: 1 1 180px;
 }

 .footer-nav h4,
 .footer-contact h4,
 .footer-social h4 {
   font-weight: 700;
   font-size: 16px;
   margin-bottom: 16px;
 }

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

 .footer-nav li {
   margin-bottom: 8px;
 }

 .footer-nav a {
   color: #F3F4F6;
   text-decoration: none;
   font-size: 14px;
   transition: all 0.3s ease;
 }

 .footer-nav a:hover {
   filter: drop-shadow(0 2px 4px rgba(197, 197, 197, 0.3));

   text-decoration: underline;
 }

 .footer-contact p a {
   color: #A1A1AA;
   text-decoration: none;
 }

 .footer-contact p {
   font-size: 14px;
   color: #A1A1AA;
   margin-bottom: 8px;
 }

 .footer-contact a:hover {
   color: #D13F2D;
 }

 .social-icons {
   display: flex;
   gap: 16px;
 }

 .social-icons a img {
   width: 28px;
   height: 28px;
   transition: transform 0.3s ease, filter 0.3s ease;
 }

 .social-icons a:hover img {
   transform: scale(1.1);
   filter: drop-shadow(0 2px 4px rgba(197, 197, 197, 0.3));


 }

 .footer-bottom {
   max-width: 1240px;
   margin: 32px auto 0;
   padding-top: 24px;
   border-top: 1px solid #333;
   color: #9CA3AF;
   text-align: center;
   font-size: 12px;
 }

 .footer-bottom a {
   color: #9CA3AF;
   text-decoration: none;
 }

 .footer-bottom a:hover {
   text-decoration: underline;
 }

 .fade-in {
   opacity: 0;
   transform: translateY(20px);
   transition: opacity 0.8s ease, transform 0.8s ease;
 }

 .fade-in.visible {
   opacity: 1;
   transform: translateY(0);
 }

 @media (min-width: 1024px) {
   .site-footer {
     padding-left: 48px;
     padding-right: 48px;
   }
 }

 @media (max-width: 768px) {
   .footer-container {
     flex-direction: column;
   }

   .footer-brand,
   .footer-nav,
   .footer-contact,
   .footer-social {
     text-align: center;
   }

   .social-icons {
     justify-content: center;
   }
 }

 /* Auth Modal */
 .auth-modal {
   display: none;
   position: fixed;
   z-index: 2000;
   left: 0;
   top: 0;
   width: 100%;
   height: 100%;
   background-color: rgba(0, 0, 0, 0.5);
   backdrop-filter: blur(5px);
   align-items: center;
   justify-content: center;
 }

 .auth-modal.active {
   display: flex;
   animation: fadeIn 0.3s ease;
 }

 .auth-modal-content {
   background: var(--card-bg);
   padding: 2.5rem;
   border-radius: 20px;
   width: 90%;
   max-width: 400px;
   position: relative;
   box-shadow: 0 10px 40px var(--shadow);
 }

 .close-auth {
   position: absolute;
   top: 1rem;
   right: 1.5rem;
   font-size: 1.5rem;
   cursor: pointer;
   color: var(--text-light);
   transition: color 0.3s ease;
 }

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

 .auth-tabs {
   display: flex;
   margin-bottom: 2rem;
   border-bottom: 2px solid rgba(107, 147, 214, 0.2);
 }

 .auth-tab {
   flex: 1;
   background: none;
   border: none;
   padding: 1rem;
   font-size: 1rem;
   font-weight: 600;
   color: var(--text-light);
   cursor: pointer;
   position: relative;
   font-family: inherit;
   transition: all 0.3s ease;
 }

 .auth-tab.active {
   color: var(--primary-blue);
 }

 .auth-tab.active::after {
   content: '';
   position: absolute;
   bottom: -2px;
   left: 0;
   width: 100%;
   height: 2px;
   background: var(--primary-blue);
 }

 .auth-form {
   display: none;
   flex-direction: column;
   gap: 1.5rem;
 }

 .auth-form.active {
   display: flex;
   animation: slideIn 0.3s ease;
 }

 .auth-form h3 {
   text-align: center;
   margin-bottom: 0.5rem;
   font-size: 1.5rem;
   color: var(--text-dark);
 }

 .form-group {
   display: flex;
   flex-direction: column;
   gap: 0.5rem;
 }

 .form-group label {
   font-size: 0.9rem;
   font-weight: 500;
   color: var(--text-light);
 }

 .form-group input {
   padding: 0.8rem;
   border: 2px solid rgba(107, 147, 214, 0.2);
   border-radius: 10px;
   font-family: inherit;
   background: var(--background);
   color: var(--text-dark);
   transition: all 0.3s ease;
 }

 .form-group input:focus {
   outline: none;
   border-color: var(--primary-blue);
 }

 .auth-btn {
   background: linear-gradient(135deg, var(--primary-blue), var(--light-purple));
   color: white;
   border: none;
   padding: 1rem;
   border-radius: 12px;
   font-weight: 600;
   cursor: pointer;
   transition: transform 0.3s ease;
   font-size: 1rem;
   margin-top: 1rem;
 }

 .auth-btn:hover {
   transform: translateY(-2px);
   box-shadow: 0 5px 15px rgba(107, 147, 214, 0.3);
 }

 /* Google Sign-In Button */
 .google-btn {
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 0.75rem;
   width: 100%;
   padding: 0.875rem;
   background: white;
   border: 2px solid #E5E5E5;
   border-radius: 12px;
   font-weight: 600;
   font-size: 1rem;
   color: #444;
   cursor: pointer;
   transition: all 0.3s ease;
   font-family: inherit;
 }

 .google-btn:hover {
   background: #F8F8F8;
   border-color: #CCC;
   transform: translateY(-2px);
   box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
 }

 .google-btn svg {
   flex-shrink: 0;
 }

 /* Dark mode Google button */
 [data-theme="dark"] .google-btn {
   background: var(--card-bg);
   border-color: var(--warm-gray);
   color: var(--text-dark);
 }

 [data-theme="dark"] .google-btn:hover {
   background: var(--warm-gray);
 }

 /* Auth Divider */
 .auth-divider {
   display: flex;
   align-items: center;
   margin: 1rem 0;
 }

 .auth-divider::before,
 .auth-divider::after {
   content: '';
   flex: 1;
   height: 1px;
   background: rgba(107, 147, 214, 0.2);
 }

 .auth-divider span {
   padding: 0 1rem;
   color: var(--text-light);
   font-size: 0.875rem;
 }

 .auth-error {
   color: var(--error);
   font-size: 0.85rem;
   text-align: center;
   min-height: 1.2em;
 }

 /* Account Dropdown */
 .account-dropdown-container {
   position: relative;
   display: inline-block;
 }

 .account-menu {
   display: none;
   position: absolute;
   right: 0;
   top: 50px;
   background: var(--card-bg);
   min-width: 200px;
   box-shadow: 0 8px 30px var(--shadow);
   border-radius: 12px;
   padding: 0.5rem;
   z-index: 1000;
   border: 1px solid rgba(107, 147, 214, 0.1);
   animation: fadeIn 0.2s ease;
 }

 .account-menu.active {
   display: block;
 }

 .account-header-info {
   padding: 0.75rem 1rem;
   border-bottom: 1px solid rgba(107, 147, 214, 0.1);
   margin-bottom: 0.5rem;
 }

 .user-name {
   font-size: 1rem;
   color: var(--text-dark);
   font-weight: 700;
   margin-bottom: 0.25rem;
 }

 .user-email {
   font-size: 0.8rem;
   color: var(--text-light);
   word-break: break-all;
 }

 .menu-item {
   display: flex;
   align-items: center;
   gap: 0.75rem;
   padding: 0.75rem 1rem;
   color: var(--text-dark);
   text-decoration: none;
   border-radius: 8px;
   transition: background 0.2s ease;
   width: 100%;
   border: none;
   background: none;
   font-family: inherit;
   font-size: 0.95rem;
   cursor: pointer;
   text-align: left;
 }

 .menu-item:hover {
   background: var(--warm-gray);
   color: var(--primary-blue);
 }

 .menu-divider {
   height: 1px;
   background: rgba(107, 147, 214, 0.1);
   margin: 0.5rem 0;
 }

 .menu-icon {
   font-size: 1.1rem;
   width: 24px;
   text-align: center;
 }

 /* Analytics Dashboard Styles */
 #analytics {
   padding: 1.5rem;
   max-width: 900px;
   margin: 0 auto;
 }

 .analytics-header {
   text-align: center;
   margin-bottom: 2rem;
 }

 .analytics-header h2 {
   font-size: 1.75rem;
   color: var(--text-dark);
   margin-bottom: 0.5rem;
 }

 .analytics-subtitle {
   color: var(--text-light);
   font-size: 0.95rem;
 }

 .analytics-stats {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 1rem;
   margin-bottom: 2rem;
 }

 .stat-card {
   background: var(--card-bg);
   border-radius: 16px;
   padding: 1.5rem;
   text-align: center;
   box-shadow: 0 4px 20px var(--shadow);
   display: flex;
   flex-direction: column;
   gap: 0.5rem;
 }

 .stat-icon {
   font-size: 2rem;
 }

 .stat-value {
   font-size: 2rem;
   font-weight: 700;
   color: var(--primary-blue);
 }

 .stat-label {
   font-size: 0.85rem;
   color: var(--text-light);
 }

 .analytics-charts {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 1.5rem;
   margin-bottom: 2rem;
 }

 .chart-card {
   background: var(--card-bg);
   border-radius: 16px;
   padding: 1.5rem;
   box-shadow: 0 4px 20px var(--shadow);
 }

 .chart-card h3 {
   font-size: 1rem;
   color: var(--text-dark);
   margin-bottom: 1rem;
 }

 .chart-card canvas {
   max-height: 200px;
 }

 .recent-entries {
   background: var(--card-bg);
   border-radius: 16px;
   padding: 1.5rem;
   margin-bottom: 1.5rem;
   box-shadow: 0 4px 20px var(--shadow);
 }

 .recent-entries h3 {
   font-size: 1rem;
   color: var(--text-dark);
   margin-bottom: 1rem;
 }

 .entries-list {
   display: flex;
   flex-direction: column;
   gap: 0.75rem;
 }

 .entry-item {
   display: flex;
   align-items: center;
   gap: 1rem;
   padding: 0.75rem;
   background: var(--warm-gray);
   border-radius: 10px;
 }

 .entry-mood {
   font-size: 1.75rem;
 }

 .entry-details {
   display: flex;
   flex-direction: column;
 }

 .entry-mood-text {
   font-weight: 600;
   color: var(--text-dark);
   text-transform: capitalize;
 }

 .entry-date {
   font-size: 0.8rem;
   color: var(--text-light);
 }

 .no-entries {
   color: var(--text-light);
   text-align: center;
   padding: 1rem;
 }

 .analytics-actions {
   display: flex;
   gap: 1rem;
   justify-content: center;
 }

 .btn-secondary {
   background: var(--warm-gray);
   color: var(--text-dark);
   border: 1px solid rgba(107, 147, 214, 0.2);
 }

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

 /* Analytics Setup */
 .analytics-setup,
 .analytics-error {
   background: var(--card-bg);
   border-radius: 16px;
   padding: 2.5rem;
   text-align: center;
   box-shadow: 0 4px 20px var(--shadow);
 }

 .analytics-setup h2,
 .analytics-error h2 {
   color: var(--text-dark);
   margin-bottom: 1rem;
 }

 .analytics-setup p,
 .analytics-error p {
   color: var(--text-light);
   margin-bottom: 1.5rem;
 }

 .setup-instructions {
   text-align: left;
   background: var(--warm-gray);
   border-radius: 12px;
   padding: 1.5rem;
   margin-bottom: 1.5rem;
 }

 .setup-instructions h3 {
   font-size: 1rem;
   margin-bottom: 0.75rem;
   color: var(--text-dark);
 }

 .setup-instructions ol {
   padding-left: 1.25rem;
   color: var(--text-light);
   line-height: 1.8;
 }

 .setup-instructions code {
   background: var(--card-bg);
   padding: 0.2rem 0.5rem;
   border-radius: 4px;
   font-size: 0.85rem;
 }

 .setup-form {
   display: flex;
   gap: 1rem;
 }

 .sheets-url-input {
   flex: 1;
   padding: 0.9rem;
   border: 2px solid rgba(107, 147, 214, 0.2);
   border-radius: 12px;
   font-family: inherit;
   background: var(--background);
   color: var(--text-dark);
 }

 .sheets-url-input:focus {
   outline: none;
   border-color: var(--primary-blue);
 }

 /* Analytics Loading */
 .analytics-loading {
   text-align: center;
   padding: 4rem 2rem;
 }

 .loading-spinner {
   width: 50px;
   height: 50px;
   border: 4px solid var(--warm-gray);
   border-top-color: var(--primary-blue);
   border-radius: 50%;
   animation: spin 1s linear infinite;
   margin: 0 auto 1rem;
 }

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

 /* Responsive Analytics */
 @media (max-width: 768px) {
   .analytics-stats {
     grid-template-columns: 1fr;
   }

   .analytics-charts {
     grid-template-columns: 1fr;
   }

   .setup-form {
     flex-direction: column;
   }
 }

 /* Dark Mode Analytics */
 [data-theme="dark"] .entry-item {
   background: var(--warm-gray);
 }

 [data-theme="dark"] .setup-instructions {
   background: var(--warm-gray);
 }

 [data-theme="dark"] .setup-instructions code {
   background: var(--background);
 }

 /* Added missing info message style */
 .message-info {
   background: rgba(107, 147, 214, 0.1);
   color: var(--primary-blue);
   border: 1px solid rgba(107, 147, 214, 0.2);
 }
 /* Base */

body {
  margin: 0;
  background: var(--warm-gray);
  color: var(--text-dark);
  font-family: "Urbanist", sans-serif;
}

/* Section Layout */

.contact-form-map-section {
  padding: 80px 16px;
}

.container {
  max-width: 1240px;
  margin: auto;
  display: grid;
  /* grid-template-columns: 1fr 520px; */
  gap: 40px;
}

/* Form Card */

.form-block {
  background: var(--card-bg);
  padding: 28px;
  border-radius: 16px;
  box-shadow: 0 12px 28px var(--shadow);
}

/* Heading */

.form-heading {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-blue);
}

.form-subtext {
  margin: 8px 0 20px;
  color: var(--text-light);
  font-size: 15px;
}

/* Rows */

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 16px;
}

/* Fields */

.field label {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.field input,
.field textarea {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #E5E7EB;
  font-size: 15px;
  background: var(--background);
  color: var(--text-dark);
  transition: all 0.2s ease;
}

.field textarea {
  resize: vertical;
}

/* Focus State */

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(107, 147, 214, 0.25);
}

/* Buttons */

.actions {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

/* Primary Button */

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--accent)
  );
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 22px var(--shadow);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  opacity: 0.95;
}

/* Outline Button */

.btn-outline {
  border: 2px solid var(--primary-blue);
  background: transparent;
  color: var(--primary-blue);
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

/* Status Messages */

.form-status {
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 16px;
  font-size: 14px;
}

.form-status.success {
  background: rgba(39, 174, 96, 0.1);
  color: var(--success);
  border: 1px solid rgba(39, 174, 96, 0.3);
}

.form-status.error {
  background: rgba(231, 76, 60, 0.1);
  color: var(--error);
  border: 1px solid rgba(231, 76, 60, 0.3);
}

/* Errors Under Fields */

.error {
  font-size: 12px;
  color: var(--error);
  min-height: 16px;
}

/* Map Card */

.map-wrap {
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 28px var(--shadow);
}

.map-wrap iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
}

.map-caption {
  padding: 14px;
  font-size: 14px;
  color: var(--text-light);
}

/* Responsive */

@media (max-width: 1024px) {
  .container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .row {
    grid-template-columns: 1fr;
  }

  .form-heading {
    font-size: 24px;
  }
}


/* --- Comprehensive Mobile Safety & Polish (<480px and global) --- */
body {

  max-width: 100%;
}

img, video, iframe {
  max-width: 100%;
  height: auto;
}

@media (max-width: 480px) {
  .header {
    padding: 0.5rem 0.8rem;
  }
  .logo-text {
    font-size: 1.1rem;
  }
  .ai-chat-card {
    padding: 20px;
    gap: 16px;
  }
  .about-content {
    gap: 30px;
  }
  .about-section {
    padding: 40px 4%;
  }
  .mentor-section h2, .form-heading, .analytics-title, .why-choose-us h2 {
    font-size: 1.5rem !important;
  }
  .main-content {
    padding: 0.8rem;
    padding-bottom: 90px;
  }
}

body { overflow-x: hidden; max-width: 100%; }
