/* ==================== GLOBAL STYLES ==================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #1e88e5;
  --primary-dark: #1565c0;
  --primary-light: #42a5f5;
  --secondary-color: #f57c00;
  --secondary-light: #ffb74d;
  --success-color: #43a047;
  --danger-color: #e53935;
  --warning-color: #fb8500;
  --text-dark: #212121;
  --text-light: #757575;
  --border-color: #e0e0e0;
  --bg-light: #f5f5f5;
  --bg-white: #ffffff;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
}

/* ==================== TYPOGRAPHY ==================== */

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
}

h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

p {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* ==================== HEADER & NAVIGATION ==================== */

header {
  background: white;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
  white-space: nowrap;
}

/* Mobile Navigation */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  display: none;
  color: var(--text-dark);
  padding: 0.5rem;
  z-index: 101;
}

nav {
  display: flex;
  gap: 1.5rem;
}

nav a {
  color: var(--text-dark);
  font-size: 0.95rem;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--primary-color);
  text-decoration: none;
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  nav {
    position: fixed;
    left: -100%;
    top: 60px;
    flex-direction: column;
    background: white;
    width: 100%;
    text-align: left;
    transition: left 0.3s ease;
    box-shadow: var(--shadow-md);
    padding: 2rem 1rem;
    gap: 1rem;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
  }
  
  nav.active {
    left: 0;
  }
  
  nav a {
    display: block;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 1rem;
  }
  
  nav a:last-child {
    border-bottom: none;
  }
}

/* ==================== MAIN CONTAINER ==================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.container-sm {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* ==================== HERO SECTION ==================== */

.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 3rem 1.5rem;
  text-align: center;
  margin-bottom: 2rem;
  border-radius: 8px;
}

.hero h1 {
  color: white;
  margin-bottom: 1rem;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

/* ==================== BUTTONS ==================== */

.btn {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
  min-height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: white;
}

.btn-secondary:hover {
  background-color: var(--secondary-light);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.btn-success {
  background-color: var(--success-color);
  color: white;
}

.btn-success:hover {
  background-color: #2e7d32;
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.btn-block {
  display: block;
  width: 100%;
  margin-top: 1rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* ==================== CARDS ==================== */

.card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
}

.card-subtitle {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}

.card-body {
  color: var(--text-light);
}

.card-footer {
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  margin-top: 1rem;
}

/* ==================== JOB CARDS ==================== */

.job-card {
  background: white;
  border-left: 4px solid var(--primary-color);
  border-radius: 4px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  cursor: pointer;
}

.job-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.job-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.job-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
}

.job-meta-item {
  display: flex;
  align-items: center;
}

.job-meta-label {
  color: var(--text-light);
  margin-right: 0.5rem;
}

.job-meta-value {
  color: var(--text-dark);
  font-weight: 600;
}

.job-card-salary {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--success-color);
  margin: 0.8rem 0;
}

.job-card-description {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.job-card-cta {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  transition: all 0.3s ease;
}

.job-card:hover .job-card-cta {
  color: var(--primary-dark);
  margin-right: -0.5rem;
}

/* ==================== GRID LAYOUTS ==================== */

.grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* ==================== TIMER SECTION ==================== */

.timer-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 3rem 1.5rem;
  text-align: center;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.timer-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.timer-text {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

.countdown {
  font-size: 4rem;
  font-weight: 700;
  color: var(--secondary-light);
  font-variant-numeric: tabular-nums;
  margin: 1rem 0;
}

.countdown-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 1rem;
}

/* ==================== SECTIONS ==================== */

.section {
  margin-bottom: 3rem;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 3px solid var(--primary-color);
}

.section-subtitle {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* ==================== LISTS & BULLET POINTS ==================== */

.bullet-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.bullet-list li {
  padding-left: 2rem;
  margin-bottom: 0.8rem;
  position: relative;
  color: var(--text-light);
}

.bullet-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: bold;
  font-size: 1.2rem;
}

.numbered-list {
  list-style: decimal;
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.numbered-list li {
  margin-bottom: 0.8rem;
  color: var(--text-light);
}

/* ==================== ACCORDION / FAQ ==================== */

.accordion {
  margin-bottom: 1.5rem;
}

.accordion-item {
  border: 1px solid var(--border-color);
  border-radius: 4px;
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.accordion-header {
  background-color: var(--bg-light);
  padding: 1rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  transition: all 0.3s ease;
  user-select: none;
}

.accordion-header:hover {
  background-color: #eeeeee;
}

.accordion-header.active {
  background-color: var(--primary-color);
  color: white;
}

.accordion-toggle {
  display: inline-block;
  width: 1.2rem;
  height: 1.2rem;
  line-height: 1.2rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.accordion-header.active .accordion-toggle {
  transform: rotate(180deg);
}

.accordion-body {
  padding: 1.5rem;
  background-color: white;
  border-top: 1px solid var(--border-color);
  display: none;
  color: var(--text-light);
}

.accordion-body.active {
  display: block;
}

/* ==================== TABS ==================== */

.tabs {
  display: flex;
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.tab-button {
  padding: 1rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-light);
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}

.tab-button:hover {
  color: var(--primary-color);
}

.tab-button.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* ==================== ALERTS & BADGES ==================== */

.alert {
  padding: 1rem 1.5rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  border-left: 4px solid;
}

.alert-info {
  background-color: #e3f2fd;
  border-left-color: var(--primary-color);
  color: var(--primary-dark);
}

.alert-success {
  background-color: #e8f5e9;
  border-left-color: var(--success-color);
  color: #2e7d32;
}

.alert-warning {
  background-color: #fff3e0;
  border-left-color: var(--warning-color);
  color: #e65100;
}

.alert-danger {
  background-color: #ffebee;
  border-left-color: var(--danger-color);
  color: #b71c1c;
}

.badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-right: 0.5rem;
}

.badge-primary {
  background-color: var(--primary-light);
  color: white;
}

.badge-secondary {
  background-color: var(--secondary-light);
  color: white;
}

.badge-success {
  background-color: var(--success-color);
  color: white;
}

.badge-danger {
  background-color: var(--danger-color);
  color: white;
}

/* ==================== FORMS ==================== */

form {
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.search-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: white;
  min-height: 44px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
}

select {
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"%3E%3Cpath fill="%23333" d="M9.293 12.95l.707.707L15.657 8l-1.414-1.414L10 10.828 5.757 6.586 4.343 8z"/%3E%3C/svg%3E');
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 1.5em;
  padding-right: 2.5rem;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.form-check {
  display: flex;
  align-items: center;
  margin-bottom: 0.8rem;
  min-height: 44px;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
  width: auto;
  margin-right: 0.5rem;
  min-height: 20px;
  min-width: 20px;
  cursor: pointer;
}

.required-indicator {
  color: var(--danger-color);
  font-weight: bold;
}

/* ==================== TABLES ==================== */

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  background: white;
  box-shadow: var(--shadow-sm);
  border-radius: 4px;
  overflow: hidden;
}

thead {
  background-color: var(--primary-color);
  color: white;
}

th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}

td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-light);
}

tbody tr:hover {
  background-color: var(--bg-light);
}

/* ==================== AD PLACEMENTS ==================== */

.ad-container {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 1rem;
  margin: 1.5rem 0;
  text-align: center;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.9rem;
}

.ad-header {
  padding: 0.8rem 1.5rem;
  margin: 1.5rem 0;
  text-align: center;
  min-height: 100px;
}

.ad-footer {
  padding: 0.8rem 1.5rem;
  margin: 1.5rem 0;
  text-align: center;
  min-height: 60px;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
}

.ad-in-content {
  margin: 2rem 0;
  padding: 1rem;
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  text-align: center;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==================== UTILITY CLASSES ==================== */

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-muted {
  color: var(--text-light);
}

.text-primary {
  color: var(--primary-color);
}

.text-success {
  color: var(--success-color);
}

.text-danger {
  color: var(--danger-color);
}

.font-weight-bold {
  font-weight: 700;
}

.font-weight-normal {
  font-weight: 400;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.px-2 { padding-left: 1rem; padding-right: 1rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }

.hidden {
  display: none !important;
}

.visible {
  display: block !important;
}

/* ==================== FOOTER ==================== */

footer {
  background-color: var(--text-dark);
  color: white;
  padding: 3rem 1.5rem 1.5rem;
  margin-top: 3rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: white;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.footer-section ul li a:hover {
  color: var(--primary-color);
}

.footer-about {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  font-size: 0.95rem;
}

.footer-logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 1.5rem 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-social {
  display: flex;
  gap: 1.5rem;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 1.1rem;
}

.footer-social a:hover {
  color: var(--primary-color);
}

/* Responsive Footer */
@media (max-width: 768px) {
  footer {
    padding: 2rem 1rem 1rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .footer-bottom {
    justify-content: center;
  }
}

/* ==================== MOBILE-FIRST RESPONSIVE DESIGN ==================== */

/* Mobile (default - smallest first) */
@media (max-width: 480px) {
  h1 {
    font-size: 1.4rem;
    line-height: 1.3;
    margin-bottom: 0.8rem;
  }

  h2 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
  }

  h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  p {
    font-size: 0.95rem;
  }

  .container,
  .container-sm {
    padding: 1rem 0.75rem;
    max-width: 100%;
  }

  .hero {
    padding: 1.5rem 1rem;
    margin-bottom: 1.5rem;
  }

  .hero h1 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
  }

  .hero p {
    font-size: 0.9rem;
  }

  .btn {
    padding: 0.75rem 1.2rem;
    font-size: 0.95rem;
    width: 100%;
  }

  .btn-lg {
    padding: 0.9rem 1.2rem;
    font-size: 1rem;
  }

  .card {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 6px;
  }

  .job-card {
    padding: 1rem;
    margin-bottom: 1rem;
  }

  .job-card-meta {
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.85rem;
  }

  .job-card-salary {
    font-size: 1.1rem;
    margin: 0.6rem 0;
  }

  .job-card-description {
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
  }

  .section-title {
    font-size: 1.2rem;
    padding-bottom: 0.6rem;
    margin-bottom: 1rem;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .timer-section {
    padding: 1.5rem 1rem;
    margin-bottom: 1.5rem;
  }

  .countdown {
    font-size: 2.5rem;
    margin: 0.8rem 0;
  }

  .timer-icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
  }

  .timer-text {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .accordion-header {
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
  }

  .accordion-body {
    padding: 1rem;
  }

  .accordion-toggle {
    width: 1rem;
    height: 1rem;
    line-height: 1rem;
  }

  form {
    margin-bottom: 1.5rem;
  }

  .form-group {
    margin-bottom: 1.2rem;
  }

  label {
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  select,
  textarea {
    padding: 0.75rem;
    font-size: 1rem;
    border-radius: 4px;
  }

  textarea {
    min-height: 100px;
  }

  table {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }

  th,
  td {
    padding: 0.6rem 0.4rem;
  }

  .ad-container,
  .ad-in-content,
  .ad-header,
  .ad-footer {
    min-height: 180px;
    margin: 1rem 0;
  }

  .ad-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    min-height: 60px;
    margin: 0;
    border-radius: 0;
  }

  footer {
    padding-top: 80px;
    padding-bottom: 2rem;
  }

  .footer-links {
    gap: 0.5rem;
    font-size: 0.85rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}

/* Tablet (481px - 768px) */
@media (max-width: 768px) {
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  .container,
  .container-sm {
    padding: 1.5rem 1rem;
  }

  .hero {
    padding: 2rem 1.2rem;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .btn-block {
    width: 100%;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .timer-section {
    padding: 2rem 1.2rem;
  }

  .countdown {
    font-size: 2.8rem;
  }

  .ad-footer {
    position: static;
    box-shadow: none;
    border-top: 1px solid var(--border-color);
    min-height: 70px;
  }

  footer {
    padding-top: 2rem;
  }

  .tabs {
    overflow-x: auto;
  }

  .tab-button {
    padding: 0.8rem 1rem;
    white-space: nowrap;
    font-size: 0.9rem;
  }

  .search-form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop (769px and up) */
@media (min-width: 769px) {
  .container,
  .container-sm {
    padding: 2rem 1.5rem;
  }

  .hero {
    padding: 3rem 1.5rem;
  }

  .grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .search-form-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==================== PRINT STYLES ==================== */

@media print {
  header,
  footer,
  .ad-container,
  .ad-header,
  .ad-footer,
  .ad-in-content {
    display: none;
  }

  button,
  .btn {
    display: none;
  }
}
