 /* Global Body Styles */
 body {
     margin: 0;
     font-family: 'Poppins', sans-serif;
     background: linear-gradient(to bottom, #1e3c72, #243b55);
     color: #ffffff;
     display: flex;
     justify-content: center;
     align-items: center;
     min-height: 100vh;
     padding: 10px;
     box-sizing: border-box;
 }


 /* Main Container */
 .world-clock {
     max-width: 900px;
     width: 100%;
     background: rgba(0, 0, 0, 0.85);
     padding: 20px;
     border-radius: 16px;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
     overflow: hidden;
 }


 /* Header Styles */
 header {
     text-align: center;
     margin-bottom: 20px;
 }

 h1 {
     font-size: 36px;
     font-weight: 600;
     text-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 10px;
 }

 .logo {
     width: 100px;
     border-radius: 50%;
     box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
 }


 /* City Selector Styles */
 .city-selector {
     margin: 20px 0;
     text-align: center;

 }

 select {
     width: 100%;
     max-width: 400px;
     font-size: 16px;
     padding: 12px;
     border-radius: 8px;
     background: rgba(255, 255, 255, 0.2);
     border: 1px solid rgba(255, 255, 255, 0.5);
     color: white;
     transition: all 0.3s ease;
     box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
 }

 select:hover,
 select:focus {
     background-color: rgba(255, 255, 255, 0.3);
     border-color: #ff9800;
 }

 /* Styling the <option> elements */
 option {
     color: #000;
     background: #fff;
     padding: 10px;
     text-align: left;
     font-size: 16px;
     border: none;
 }

 /* Toggle Button Styling */
 .format-toggle {
     text-align: center;
     margin: 20px 0;
 }

 .format-toggle button {
     font-size: 16px;
     padding: 10px 15px;
     border-radius: 8px;
     background: rgba(255, 255, 255, 0.2);
     border: 1px solid rgba(255, 255, 255, 0.5);
     color: white;
     transition: all 0.3s ease;
 }

 .format-toggle button:hover {
     background-color: rgba(255, 255, 255, 0.3);
     border-color: #ff9800;
 }

 /* Styling for navigation links */
 #links-container {
     display: flex;
     justify-content: center;
     gap: 20px;
     margin-top: 20px;
 }

 .navigation-link {
     font-size: 18px;
     color: #ff9800;
     text-decoration: none;
     border: 1px solid rgba(255, 255, 255, 0.5);
     padding: 10px 20px;
     border-radius: 5px;
     background: rgba(255, 255, 255, 0.2);
     transition: all 0.3s ease;
 }

 .navigation-link:hover {
     background: rgba(255, 255, 255, 0.3);
     color: #ffffff;
     border-color: #ffcc80;
 }


 /* City Display */
 #cities {
     margin-top: 20px;
 }

 #city:focus {
     outline: 2px solid #ff9800;
     box-shadow: 0 0 10px rgba(255, 152, 0, 0.8);
 }

 .city {
     display: flex;
     justify-content: space-between;
     align-items: center;
     border-bottom: 1px solid rgba(255, 255, 255, 0.2);
     padding: 15px 0;
     font-size: 16px;
     border-radius: 5px;
     gap: 20px;
 }

 .city:last-child {
     border-bottom: none;
 }

 .city h2 {
     font-size: 20px;
     font-weight: 500;
     display: flex;
     align-items: center;
     gap: 10px;
     margin: 0 0 5px;
 }


 .city img {
     width: 40px;
     border-radius: 50%;
     box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
 }


 .date {
     font-size: 14px;
     color: rgba(255, 255, 255, 0.8);
     opacity: 0.8;
 }

 .time {
     font-size: 42px;
     font-weight: bold;
     color: #ff9800;
 }

 .time small {
     font-size: 18px;
     vertical-align: middle;
     line-height: 42px;
     color: rgba(255, 255, 255, 0.8);
 }


 /* Footer Styles */
 footer {
     text-align: center;
     margin-top: 20px;
     font-size: 19px;
     color: rgba(255, 255, 255, 0.8);
     line-height: 1.5;
 }

 footer a {
     color: #ff9800;
     text-decoration: none;
     transition: color 0.3s ease;
 }

 footer a:hover {
     color: #ffcc80;
 }


 /* Responsive Design */

 @media (max-width: 480px) {
     h1 {
         font-size: 28px;
     }

     .time {
         font-size: 30px;
     }

     .city h2 {
         font-size: 20px;
     }

     select {
         font-size: 0.8rem;
     }

     .city {
         flex-direction: column;
         text-align: center;
         gap: 15px;
     }


     .format-toggle button {
         font-size: 14px;
         padding: 8px 16px;
         border-radius: 20px;
     }
 }

 @media (max-width: 768px) {
     h1 {
         font-size: 32px;
     }

     .city {
         flex-direction: column;
         text-align: center;
         gap: 10px;
     }

     .city h2 {
         font-size: 22px;
     }

     .time {
         font-size: 36px;
     }

     select {
         font-size: 16px;
     }

     .format-toggle button {
         font-size: 15px;
         padding: 10px 18px;
         border-radius: 22px;
     }
 }