/* stylePrescription.css - Unified Prescription System Styles */
:root {
    --primary: #007acc;
    --secondary: #005f99;
    --accent: #70e42e;
    --light: #f0f4f8;
    --dark: #333;
    --text-dark: #010038;
    --border-radius: 8px;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
  }
  
  /* Global Styles */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
  }
  
  body {
    background-color: var(--light);
    color: var(--dark);
    scroll-behavior: smooth;
  }
  
  /* Header Navigation */
  header {
    background-color: var(--primary);
    padding: 20px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
  }
  
  nav li {
    display: inline-block;
  }
  
  nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: var(--border-radius);
    transition: var(--transition);
  }
  
  nav a:hover {
    background: rgba(255, 255, 255, 0.1);
  }
  
  /* Right-aligned Admin Link */
  .admin-link {
    margin-left: auto;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 20px;
  }
  
  /* Main Content Sections */
  .section {
    padding: 100px 20px;
    min-height: 100vh;
    text-align: center;
  }
  
  /* Home Section */
  #home {
    background: url('img/design.png') no-repeat center center/cover;
    position: relative;
    height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
  }
  
  #home-content {
    padding: 50px;
    text-align: center;
  }
  
  #home h1 {
    font-size: 4rem;
    color: var(--text-dark);
    margin-bottom: 20px;
  }
  
  .highlight {
    color: var(--accent);
    font-weight: bold;
  }
  
  .cta-button {
    background-color: var(--primary);
    color: white;
    font-size: 1.2rem;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
  }
  
  .cta-button:hover {
    background-color: var(--secondary);
  }
  
  /* Table Styles */
  .data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem auto;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
  }
  
  .data-table th,
  .data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
  }
  
  .data-table th {
    background-color: var(--primary);
    color: white;
    font-weight: bold;
  }
  
  /* Form Elements */
  .form-group {
    margin-bottom: 1.5rem;
    text-align: left;
  }
  
  .form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
  }
  
  .form-input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,122,204,0.1);
  }
  
  /* Footer */
  footer {
    background-color: var(--primary);
    padding: 20px;
    text-align: center;
    color: white;
  }
  
  footer nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
  }
  
  footer a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
  }
  
  footer a:hover {
    color: #e0e0e0;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    header {
      flex-direction: column;
      align-items: flex-start;
      padding: 15px;
    }
  
    nav ul {
      flex-wrap: wrap;
      gap: 10px;
    }
  
    .admin-link {
      margin-left: 0;
    }
  
    #home h1 {
      font-size: 2.5rem;
    }
  
    .data-table {
      overflow-x: auto;
      display: block;
    }
  }
  
  @media (max-width: 480px) {
    #home-content {
      padding: 30px 15px;
    }
  
    #home h1 {
      font-size: 2rem;
    }
  
    .cta-button {
      width: 100%;
    }
  }
  
  /* Book an Appointment Button Style */
  #home-content button {
    background-color: #007acc;
    color: #fff;
    font-size: 1.2rem;
    padding: 15px 35px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
    margin-top: 20px;
  }
  #home-content button:hover {
    background-color: #005f99;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  }
  
  /* Service Card Hover Effect */
  .service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
  }
  .service-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    padding: 40px 30px;
    width: 260px;
    text-align: center;
    transition: transform 0.25s cubic-bezier(.4,2,.6,1), box-shadow 0.25s;
    cursor: pointer;
  }
  .service-item:hover {
    transform: scale(1.07) translateY(-8px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    z-index: 2;
  }
  .service-item i {
    font-size: 2.5rem;
    color: #007acc;
    margin-bottom: 18px;
  }
  .service-item h3 {
    color: #007acc;
    margin-bottom: 10px;
    font-size: 1.3rem;
  }
  .service-item p {
    color: #444;
    font-size: 1rem;
  }

  /* Map Styles */
  .map-container {
    padding: 40px 20px;
    text-align: center;
    background-color: var(--light);
  }

  .map-container h2 {
    color: var(--primary);
    margin-bottom: 10px;
  }

  .map-container p {
    color: var(--dark);
    margin-bottom: 20px;
    font-size: 1.1rem;
  }

  #map {
    height: 400px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
  }

  @media (max-width: 768px) {
    #map {
      height: 300px;
    }
  }