/* style.css - UPDATED STYLING FOR DATTA HEALTHCARE */

:root {
  --primary-light: #151B8D;
  --accent: #fa824c;
  --bg-light: #ffffff;
  --text-light: #222222;
  --card-light: #f8fdff;
  --border-light: #e0e0e0;

  --primary-dark: #5f85fb;
  --bg-dark: #353941;
  --text-dark: #f0f0f0;
  --card-dark: #26292b;
  --border-dark: #444;
}

.light-mode {
  --primary: var(--primary-light);
  --bg: var(--bg-light);
  --text: var(--text-light);
  --card-bg: var(--card-light);
  --border: var(--border-light);
  --shadow: 0 2px 15px rgba(10,137,209,0.12);
}

.dark-mode {
  --primary: var(--primary-dark);
  --bg: var(--bg-dark);
  --text: var(--text-dark);
  --card-bg: var(--card-dark);
  --border: var(--border-dark);
  --shadow: 0 2px 15px rgba(0,0,0,0.5);
}

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

/* Custom Webkit Scrollbar Styles */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--card-bg);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
  transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
  transform: scale(1.1);
}

::-webkit-scrollbar-corner {
  background: var(--card-bg);
}

/* For specific elements with horizontal scrolling */
.insight-grid::-webkit-scrollbar {
  height: 6px;
}

.insight-grid::-webkit-scrollbar-track {
  background: transparent;
  margin: 0 10px;
}

.insight-grid::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

.insight-grid::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* For modal scrollbars */
.modal-content::-webkit-scrollbar {
  width: 6px;
}

.modal-content::-webkit-scrollbar-track {
  background: transparent;
}

.modal-content::-webkit-scrollbar-thumb {
  background: rgba(10, 137, 209, 0.5);
  border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: rgba(10, 137, 209, 0.8);
}

/* For sidebar scrollbars */
.sidebar::-webkit-scrollbar {
  width: 4px;
}

.sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* Firefox scrollbar (for cross-browser support) */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--card-bg);
}

body {
  font-family: 'Poppins', 'Lato', 'Roboto Slab', sans-serif;
  background: var(--bg);
  color: var(--text);
  transition: all 0.4s ease;
  line-height: 1.6;
  font-size: 14px;
}

/* Loading Screen */
#loader {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 1s ease-out;
}

.logo-animate {
  width: 180px;
  border-radius: 50%;
  animation: fadeIn 1.8s ease-out, pulse 2s infinite 2s;
  content: url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSRmNOpECh9PCwLGXgw3RjAKaRIx4On3OL1ftEV0IA53_KFFIlAGdNe7cmErH5Y3sfgrmkeKKFzyGigSrLPrOEfRhi14prH0kcO9WLg_WWp9zRmln73WZ6wF-D5HwzoMUiEfPKXyR838DiqQE_s1NYgYvR189J_6ec9F7TPFa26JPCckIFtrEjnFYV2ZW4/s320/logo.png');
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.4) rotate(-10deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* Preheader - REDUCED HEIGHT */
.preheader {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 36px; /* Reduced from 48px */
  background: var(--bg);
  color: var(--primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 15px; /* Reduced padding */
  z-index: 999;
  font-size: 12px; /* Smaller font */
  font-weight: 500;
}

.theme-toggle {
  display: flex;
  align-items: center;
  gap: 8px; /* Reduced gap */
}

.switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 24px;
}

.switch input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: none;
  transition: .4s;
  border-radius: 24px;
  border: 1px solid  var(--primary);
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: var(--accent);
  transition: .4s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

input:checked + .slider { 
  background: var(--primary);
}

input:checked + .slider:before { 
  transform: translateX(22px);
  background: white;
}

.slider.round { border-radius: 24px; }

.btn-appoint {
  background: var(--accent);
  color: white;
  border: none;
  padding: 6px 16px; /* Reduced from 10px 22px */
  border-radius: 20px; /* Slightly smaller */
  font-weight: 600;
  font-size: 12px; /* Smaller font */
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 3px 10px rgba(250,130,76,0.4); /* Reduced shadow */
}

.btn-appoint:hover {
  transform: translateY(-1px); /* Reduced hover effect */
  box-shadow: 0 5px 15px rgba(250,130,76,0.5); /* Reduced shadow */
}


/* Location Dropdown */
.location-dropdown {
  position: fixed;
  left: 120px;
  margin-top: 4px;
}

.location-btn {
  background: var(--card-bg);
  padding: 8px 15px; /* Reduced padding */
  border-radius: 20px; /* Smaller radius */
  cursor: pointer;
  font-weight: 500;
  border: 1px solid var(--border);
  transition: all 0.3s;
  font-size: 10px; /* Smaller font */
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.location-dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  right: 0px;
  background: var(--card-bg);
  max-width: 180px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  z-index: 1000;
  margin-top: 8px;
  padding: 10px 0;
}

.location-dropdown-content.show {
  display: block;
  animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.location-item {
  padding: 12px 20px;
  color: var(--text);
  text-decoration: none;
  display: block;
  transition: all 0.3s ease;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-size: 14px;
}

.location-item:hover {
  background: rgba(10, 137, 209, 0.1);
  color: var(--primary);
}

.location-item i {
  margin-right: 8px;
  color: var(--primary);
}


/* Header - REDUCED HEIGHT */
.header {
  position: fixed;
  top: 46px; /* Adjusted to match preheader height */
  left: 0;
  right: 0;
  height: 76px; /* Reduced from 72px */
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 15px 15px 25px; /* Reduced padding */
  box-shadow: var(--shadow);
  z-index: 998;
}

.logo {
  font-family:  "Playwrite FR Trad", cursive;
  font-size: 20px; /* Reduced from 28px */
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.5px; /* Reduced */
}

.header-center {
  display: flex;
  gap: 15px; /* Reduced gap */
  align-items: center;
}

/* Desktop Navigation */
.desktop-nav {
  display: flex;
  gap: 25px;
  align-items: center;
}

.desktop-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.desktop-nav a:hover {
  color: var(--primary);
  background: rgba(10, 137, 209, 0.1);
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.desktop-nav a:hover::after {
  width: 80%;
}

.search-container {
  display: none; /* Hide search container */
}

.menu-toggle {
  font-size: 22px; /* Reduced from 28px */
  cursor: pointer;
  color: var(--primary);
  display: none;
}

/* Sidebar (Desktop) */
.sidebar {
  position: fixed;
  top: 96px; /* Adjusted to match combined header heights */
  left: -320px;
  width: 280px; /* Slightly smaller */
  height: calc(100vh - 92px);
  background: var(--card-bg);
  padding: 20px 15px; /* Reduced padding */
  transition: left 0.4s ease;
  z-index: 997;
  box-shadow: var(--shadow);
  border-right: 1px solid var(--border);
}

.sidebar.active { left: 0; }

.sidebar ul li {
  padding: 12px 0; /* Reduced padding */
  border-bottom: 1px solid var(--border);
}

.sidebar ul li a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px; /* Smaller font */
  transition: 0.3s;
}

.sidebar ul li a:hover {
  color: var(--primary);
  padding-left: 6px; /* Reduced padding */
}



/* Main Content */
.main-content {
  margin-top: 106px; /* Adjusted */
  margin-bottom: 70px; /* Reduced */
  padding: 0 15px; /* Reduced padding */
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

/* Bottom Navigation */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg);
  display: flex;
  justify-content: space-around;
  padding: 8px 0; /* Reduced padding */
  box-shadow: 0 -2px 15px rgba(0,0,0,0.1); /* Reduced shadow */
  z-index: 996;
  border-top: 1px solid var(--border);
}

.bottom-nav a {
  text-decoration: none;
  color: var(--text);
  text-align: center;
  font-size: 11px; /* Smaller font */
  font-weight: 500;
  opacity: 0.7;
  transition: 0.3s;
}

.bottom-nav a.active,
.bottom-nav a:hover {
  opacity: 1;
  color: var(--primary);
}

.bottom-nav i {
  font-size: 18px; /* Reduced from 22px */
  display: block;
  margin-bottom: 3px; /* Reduced margin */
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  color: var(--primary);
}

h1 { font-size: 36px; margin-bottom: 20px; } /* Reduced from 42px */
h2 { font-size: 28px; margin: 30px 0 15px; } /* Reduced from 32px */
h3 { font-size: 20px; } /* Reduced from 24px */

        /* Combined Hero Section */
        .hero-section {
            position: relative;
            height: 100vh;
			padding: 0px 0px 180px 0px;
            min-height: 700px;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .hero-slideshow {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
        }

        .hero-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 1.5s ease-in-out;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }

        .hero-slide.active {
            opacity: 1;
        }

        .hero-slide:nth-child(1) {
            background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://media.istockphoto.com/id/1614146649/photo/indian-female-doctor-checking-young-adult-girl-patient-heartbeat-with-stethoscope-at-village.jpg?s=612x612&w=0&k=20&c=uT4Qs3TD247VlyTMwlrFTda-1SpP0sMAVs6qrWAPBBE=');
        }

        .hero-slide:nth-child(2) {
            background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://media.istockphoto.com/id/1136848582/photo/serious-man-is-staring-at-doctor-in-waiting-room.jpg?s=612x612&w=0&k=20&c=betPSBka_pLT-Aaax74jA6cjAWW0SES25uTCYD_RUwc=');
        }

        .hero-slide:nth-child(3) {
            background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://media.istockphoto.com/id/1366792641/photo/asian-chinese-female-nursecafeteri-smiling-walking-at-cafeteria-of-hospital.jpg?s=612x612&w=0&k=20&c=CqLT4fDn2D8PZ_KwBJ-eZj8E8fFh59peWn3mVKKTgEw=');
        }

        .hero-content {
            position: relative;
            z-index: 2;
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }

        .hero-text {
            color: white;
            padding: 40px;
            border-radius: 20px;
            background: rgba(10, 137, 209, 0.0);
            backdrop-filter: blur(10px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
            animation: fadeIn 1.5s ease-out;
        }

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

        #welcomeTitle {
	     	color: white;
            font-size: 3.2rem;
            margin-bottom: 20px;
            font-weight: 700;
            line-height: 1.2;
            overflow: hidden;
            white-space: nowrap;
            border-right: 3px solid white;
            animation: typing 4s steps(40) 1s forwards, blink 0.8s infinite;
        }

        @keyframes typing {
            from { width: 0; }
            to { width: 100%; }
        }

        @keyframes blink {
            50% { border-color: transparent; }
        }

        #welcomeDesc {
            font-size: 1.4rem;
            margin-bottom: 30px;
            opacity: 0.95;
            line-height: 1.5;
        }

        /* Notice Bar */
        #noticeBar {
            background: rgba(255, 255, 255, 0.95);
            color: black;
            padding: 15px 20px;
            border-radius: 12px;
            margin-top: 25px;
            position: relative;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        #noticeText {
            display: inline-block;
            animation: marquee 25s linear infinite;
            font-weight: 500;
            font-size: 1.05rem;
        }

        @keyframes marquee {
            0% { transform: translateX(100%); }
            100% { transform: translateX(-100%); }
        }

        /* Looking For Section */
        .looking-for {
            background: none;
            padding: 40px;
            border-radius: 20px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
            animation: slideIn 1s ease-out;
            position: relative;
            overflow: hidden;
        }

        @keyframes slideIn {
            from { opacity: 0; transform: translateX(30px); }
            to { opacity: 1; transform: translateX(0); }
        }

        .looking-for::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
        }

        .looking-for-content {
            display: flex;
            flex-direction: column;
            gap: 30px;
        }

        /* Form Container */
        .looking-for-form-container {
            position: relative;
            background: #f8fafc;
            border-radius: 16px;
            padding: 35px 30px;
            border: 1px solid #e1e8f0;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
        }

        .form-animation {
            position: absolute;
            top: -20px;
            right: -20px;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .pulse-dot {
            width: 14px;
            height: 14px;
            background: var(--accent);
            border-radius: 50%;
            animation: pulse 2.5s infinite;
            box-shadow: 0 0 20px var(--accent);
        }

        @keyframes pulse {
            0%, 100% { 
                transform: scale(1); 
                opacity: 1; 
                box-shadow: 0 0 20px var(--accent);
            }
            50% { 
                transform: scale(1.8); 
                opacity: 0.6; 
                box-shadow: 0 0 40px var(--accent);
            }
        }

        .search-icon-animated {
            background: linear-gradient(135deg, var(--accent), #ff9b71);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            animation: bounce 3s infinite;
            box-shadow: 0 5px 25px rgba(250, 130, 76, 0.5);
            color: white;
        }

        @keyframes bounce {
            0%, 100% { 
                transform: translateY(0) rotate(0deg); 
            }
            25% { 
                transform: translateY(-12px) rotate(5deg); 
            }
            75% { 
                transform: translateY(-8px) rotate(-5deg); 
            }
        }

        /* Form Styles */
        .lookup-form {
            display: flex;
            flex-direction: column;
            gap: 25px;
        }

        .form-group {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .form-group label {
            font-weight: 600;
            font-size: 1.05rem;
            display: flex;
            align-items: center;
            gap: 10px;
            color: #444;
        }

        .form-group label i {
            color: var(--primary);
            font-size: 1.2rem;
        }

        #majorDept, #subDept {
            padding: 16px 20px;
            border: 2px solid #e1e8f0;
            border-radius: 12px;
            font-size: 1rem;
            background: white;
            color: #333;
            transition: all 0.3s ease;
            cursor: pointer;
            font-weight: 500;
            appearance: none;
            background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a89d1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
            background-repeat: no-repeat;
            background-position: right 15px center;
            background-size: 16px;
        }

        #majorDept:focus, #subDept:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(10, 137, 209, 0.2);
        }

        #majorDept:hover, #subDept:hover {
            border-color: var(--primary);
        }

        #findDoctorBtn {
            background: linear-gradient(135deg, var(--primary), #0a6ba8);
            color: white;
            border: none;
            padding: 18px 30px;
            border-radius: 12px;
            font-weight: 600;
            font-size: 1.1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            margin-top: 10px;
            box-shadow: 0 8px 20px rgba(10, 137, 209, 0.4);
            position: relative;
            overflow: hidden;
        }

        #findDoctorBtn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.6s;
        }

        #findDoctorBtn:hover::before {
            left: 100%;
        }

        #findDoctorBtn:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 25px rgba(10, 137, 209, 0.5);
        }

        .btn-icon {
            transition: all 0.3s ease;
        }

        #findDoctorBtn:hover .btn-icon {
            transform: translateX(5px);
        }

        /* Mobile Responsive */
        @media (max-width: 968px) {
            .hero-content {
                grid-template-columns: 1fr;
                gap: 40px;
            }
            
            #welcomeTitle {
                font-size: 2.8rem;
            }
            
            #welcomeDesc {
                font-size: 1.2rem;
            }
            
            .looking-for {
                padding: 30px 25px;
            }
        }

        @media (max-width: 768px) {
            .hero-section {
                height: auto;
                min-height: auto;
                padding: 80px 0;
            }
            
            #welcomeTitle {
                font-size: 2.2rem;
            }
            
            .looking-for {
                padding: 25px 20px;
            }
            
            .looking-for-form-container {
                padding: 30px 25px;
            }
            
            .form-animation {
                top: -15px;
                right: -15px;
            }
            
            .search-icon-animated {
                width: 45px;
                height: 45px;
            }
        }

        @media (max-width: 480px) {
            .hero-section {
                padding: 60px 0;
            }
            
            #welcomeTitle {
                font-size: 1.8rem;
            }
            
            #welcomeDesc {
                font-size: 1rem;
            }
            
            .looking-for {
                padding: 20px 15px;
            }
            
            .looking-for-form-container {
                padding: 25px 20px;
            }
            
            .form-animation {
                top: -10px;
                right: -10px;
            }
            
            .search-icon-animated {
                width: 40px;
                height: 40px;
            }
            
            #majorDept, #subDept {
                padding: 14px 16px;
            }
            
            #findDoctorBtn {
                padding: 16px 25px;
                font-size: 1rem;
            }
        }

/* Founder Section - ENHANCED DESIGN */
.founder-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin: 60px 0;
  background: var(--card-bg);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}

.founder-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.founder-img {
  position: relative;
  background: var(--card-bg);
}

.founder-img img {
  width: 100%;
  border-radius: 15px;
  background: none;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.);
  transition: transform 0.3s ease;
}

.founder-img:hover img {
  transform: scale(1.02);
}

.founder-img::after {
  content: '';
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 100px;
  height: 100px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.1;
  z-index: -1;
}

.founder-message {
  padding: 20px;
}

.founder-message h3 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 20px;
  position: relative;
}

.founder-message h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.founder-message p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 25px;
}

.founder-quote {
  background: rgba(10, 137, 209, 0.05);
  border-left: 4px solid var(--accent);
  padding: 20px;
  border-radius: 0 10px 10px 0;
  font-style: italic;
  margin: 25px 0;
}

.founder-signature {
  font-weight: 600;
  color: var(--primary);
  font-size: 1rem;
}

/* Insights Section - UPDATED DESIGN */
.insights {
  margin: 40px 0; /* Reduced margin */
}

.insight-tabs {
  display: flex;
  gap: 8px; /* Reduced gap */
  margin-bottom: 20px; /* Reduced margin */
  flex-wrap: wrap;
}

.insight-tabs button {
  padding: 10px 20px; /* Reduced padding */
  border: none;
  background: var(--card-bg);
  color: var(--text);
  border-radius: 20px; /* Smaller radius */
  cursor: pointer;
  font-weight: 500;
  transition: 0.3s;
  font-size: 13px; /* Smaller font */
}

.insight-tabs button.active {
  background: var(--primary);
  color: white;
}

.insight-grid {
  display: flex; /* Changed from grid to flex */
  gap: 20px; /* Reduced gap */
  overflow-x: auto; /* Horizontal scrolling */
  padding: 10px 5px; /* Reduced padding */
  scrollbar-width: thin;
  scrollbar-color: var(--primary) transparent;
}

.insight-grid::-webkit-scrollbar {
  height: 6px;
}

.insight-grid::-webkit-scrollbar-track {
  background: transparent;
}

.insight-grid::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

.insight-card {
  background: var(--card-bg);
  border-radius: 12px; /* Smaller radius */
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: 0.3s;
  min-width: 280px; /* Fixed width for cards */
  max-width: 280px; /* Fixed width for cards */
  flex-shrink: 0; /* Prevent cards from shrinking */
}

.insight-card:hover {
  transform: translateY(-5px); /* Reduced hover effect */
}

.insight-card img {
  width: 100%;
  height: 160px; /* Reduced height */
  object-fit: cover;
}

.insight-card h3 {
  padding: 15px 15px 8px; /* Reduced padding */
  font-size: 16px; /* Smaller font */
}

.insight-card p {
  padding: 0 15px 15px; /* Reduced padding */
  font-size: 13px; /* Smaller font */
  opacity: 0.9;
}

/* Q&A */
.qna {
  margin: 40px 0; /* Reduced margin */
}

.qna-item {
  background: var(--card-bg);
  margin: 12px 0; /* Reduced margin */
  border-radius: 12px; /* Smaller radius */
  overflow: hidden;
  box-shadow: var(--shadow);
}

.qna-question {
  padding: 15px; /* Reduced padding */
  background: var(--primary);
  color: white;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px; /* Smaller font */
}

.qna-answer {
  padding: 15px; /* Reduced padding */
  display: none;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 14px; /* Smaller font */
}

/* Footer - ENHANCED FOR DESKTOP */
footer {
  background: var(--card-bg);
  padding: 80px 40px 40px; /* Increased padding */
  margin-top: 80px; /* Increased margin */
  border-top: 1px solid var(--border);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /* Larger min-width */
  gap: 50px; /* Increased gap */
}

.footer-container h3 {
  font-size: 24px; /* Larger font */
  margin-bottom: 25px; /* Increased margin */
  color: var(--primary);
}

.footer-container h4 {
  font-size: 18px; /* Larger font */
  margin-bottom: 20px; /* Increased margin */
  color: var(--primary);
}

.footer-container p {
  font-size: 16px; /* Larger font */
  line-height: 1.8; /* Increased line height */
  margin-bottom: 15px; /* Increased margin */
}

.footer-container a {
  display: block;
  color: var(--text);
  text-decoration: none;
  margin: 12px 0; /* Increased margin */
  transition: 0.3s;
  font-size: 16px; /* Larger font */
}

.footer-container a:hover {
  color: var(--primary);
  padding-left: 10px; /* Increased padding */
}

/* Floating Button */
.floating-btn {
  position: fixed;
  bottom: 80px; /* Adjusted for larger footer */
  right: 20px;
  width: 50px; /* Slightly larger */
  height: 50px; /* Slightly larger */
  border-radius: 50%;
  background: var(--primary);
  color: white;
  border: none;
  font-size: 20px; /* Slightly larger */
  cursor: pointer;
  box-shadow: var(--shadow);
  z-index: 995;
}

/* Admin Styles */
.admin-section { margin: 30px 0; padding: 20px; background: var(--card-bg); border-radius: 12px; box-shadow: var(--shadow); }
.admin-list { margin-top: 15px; }
.admin-item { padding: 12px; background: var(--bg); margin: 8px 0; border-radius: 10px; border: 1px solid var(--border); }
.btn-primary { background: var(--primary); color: white; padding: 10px 20px; border: none; border-radius: 20px; cursor: pointer; margin: 8px 8px 8px 0; font-size: 13px; }

/* Patient Dashboard Styles */
.patient-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 15px 0; }
.patient-tabs button { padding: 10px 16px; border: none; background: var(--card-bg); border-radius: 20px; cursor: pointer; font-size: 13px; }
.patient-tabs button.active { background: var(--primary); color: white; }
.booking-list { display: grid; gap: 12px; margin-top: 15px; }
.booking-card { background: var(--card-bg); padding: 15px; border-radius: 12px; box-shadow: var(--shadow); }
.booking-form { display: grid; gap: 12px; max-width: 500px; margin: 15px auto; }
.booking-form input, .booking-form select, .booking-form textarea { padding: 12px; border-radius: 10px; border: 1px solid var(--border); font-size: 13px; }

/* Doctor Dashboard Styles */
.booking-list { display: grid; gap: 15px; margin-top: 15px; }
.booking-card { background: var(--bg); padding: 15px; border-radius: 12px; border: 1px solid var(--border); box-shadow: var(--shadow); }

/* Sitemap Styles */
.sitemap-card {
  background: var(--card-bg);
  padding: 20px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.sitemap-card h3 { color: #0A89D1; margin-bottom: 15px; font-size: 18px; }
.sitemap-card ul { list-style: none; padding: 0; }
.sitemap-card li { margin: 10px 0; }
.sitemap-card a { color: #0A89D1; text-decoration: none; font-weight: 500; font-size: 13px; }
.sitemap-card a:hover { text-decoration: underline; }

/* Responsive Design */
@media (max-width: 968px) {
  .looking-for-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .looking-for-features {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  .founder-section {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  
  .founder-message h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .desktop-nav {
    display: none;
  }
  
  .header-center {
    display: none;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .looking-for-container {
    max-width: 100%;
    padding: 0 15px;
  }

  /* Footer responsive */
  footer {
    padding: 60px 20px 30px;
  }
  
  .footer-container {
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .looking-for-header h2 {
    font-size: 2rem;
  }
  
  .looking-for-features {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .feature-card {
    padding: 20px;
  }
  
  .founder-section {
    padding: 30px 20px;
  }
  
  .founder-message h3 {
    font-size: 1.5rem;
  }
  
  .looking-for-form-container {
    padding: 25px 20px;
  }
  
  .form-animation {
    top: -15px;
    right: -15px;
  }

  /* Show location button in mobile */
  .location-dropdown {
    display: block;
  }

  .header-center-mobile {
    display: flex;
    align-items: center;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .looking-for {
    padding: 30px 15px;
  }
  
  .looking-for-header h2 {
    font-size: 1.8rem;
  }
  
  .looking-for-desc {
    font-size: 1rem;
  }
  
  .lookup-form select {
    padding: 12px 15px;
  }
  
  .find-doctor-btn {
    padding: 15px 25px;
  }

  /* Footer mobile */
  footer {
    padding: 40px 15px 20px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .footer-container h3 {
    font-size: 20px;
  }
  
  .footer-container h4 {
    font-size: 16px;
  }
  
  .footer-container p,
  .footer-container a {
    font-size: 14px;
  }
}

@media (min-width: 993px) {
  .sidebar {
    display: none;
  }
  
  .menu-toggle {
    display: none;
  }

  /* Ensure location button is visible in desktop */
  .location-dropdown {
    display: block;
  }
}

/* Mobile header with location button */
@media (max-width: 992px) {
  .header-center-mobile {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  
  .location-dropdown {
    display: block;
  }
}

/* Popup Modal - Professional Floating Window */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.modal-content {
  background: var(--bg);
  width: 100%;
  max-width: 450px; /* Slightly smaller */
  border-radius: 16px; /* Smaller radius */
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.3); /* Reduced shadow */
  animation: modalFadeIn 0.5s ease-out;
}

.modal-header {
  background: var(--primary);
  color: white;
  padding: 15px; /* Reduced padding */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  margin: 0;
  color: white;
  font-size: 18px; /* Smaller font */
}

.close-modal {
  background: none;
  border: none;
  font-size: 24px; /* Smaller */
  color: white;
  cursor: pointer;
}

.modal-body {
  padding: 20px; /* Reduced padding */
  max-height: 65vh; /* Adjusted */
  overflow-y: auto;
}

.modal-footer {
  padding: 15px; /* Reduced padding */
  background: var(--card-bg);
  text-align: right;
  border-top: 1px solid var(--border);
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(-40px); } /* Reduced */
  to { opacity: 1; transform: translateY(0); }
}

/* Enhanced Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 15px;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from { transform: translateY(-40px); opacity: 0; } /* Reduced */
  to { transform: translateY(0); opacity: 1; }
}

/* Grid view for doctors */
.grid-view {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Smaller cards */
  gap: 15px;
}

/* Time slot styles */
.time-slot {
  background: var(--card-bg);
  padding: 8px; /* Reduced padding */
  border-radius: 6px; /* Smaller radius */
  border: 1px solid var(--border);
  margin: 4px 0; /* Reduced margin */
}

/* Checkbox styles */
input[type="checkbox"] {
  margin-right: 6px; /* Reduced margin */
}

/* Form enhancements */
.booking-form input, 
.booking-form select, 
.booking-form textarea {
  padding: 10px; /* Reduced padding */
  border: 1px solid var(--border);
  border-radius: 8px; /* Smaller radius */
  background: var(--card-bg);
  color: var(--text);
  font-size: 13px; /* Smaller font */
}

.booking-form input:focus, 
.booking-form select:focus, 
.booking-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(10,137,209,0.2); /* Reduced shadow */
}