/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #0080ff;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #0a2342;
}

/* Header Logo & Vertical Line Styling */
.logo-link {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
}

.crest-circle {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 1px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #ffffff;
  flex-shrink: 0;
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.divider-line {
  width: 1.5px;
  height: 28px;
  background-color: #94a3b8;
}

/* Backgrounds & Animations */
.hero-banner {
  background: linear-gradient(180deg, rgba(10, 35, 66, 0.45) 0%, rgba(6, 23, 45, 0.75) 100%), 
              url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?q=80&w=2000&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
}

.section-dark-navy {
  background-color: #0c2b4d;
}

.chat-shadow {
  box-shadow: 0 12px 30px -5px rgba(0, 0, 0, 0.3);
}

.fade-in {
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Public Notices Section Styling */
#public-notices {
  background-color: #f1f4f8;
}

.text-blue-900 {
  color: #1d3557;
}

#public-notices h2,
#i-would-like-to h2,
.section-title {
  font-size: 28px;
  font-weight: 700;
  color: #2b4c7e;
}

/* I Would Like To... Section Layout */
.section-container {
  max-width: 1200px;
  width: 95%;
  margin: 50px auto;
  padding: 0 15px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.option-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.option-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.card-img-wrapper {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background-color: #f1f5f9;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.option-card:hover .card-img {
  transform: scale(1.04);
}

.card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
}

.card-content p {
  font-size: 13px;
  color: #4b5563;
  line-height: 1.5;
}

/* Already Have a Visa Section Styling */
.already-visa-section {
  background-color: #0c2b4d;
  padding: 60px 0;
  color: #ffffff;
}

.already-visa-title {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

.already-visa-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.already-visa-card {
  background-color: #1a4975;
  border-radius: 8px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 150px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.already-visa-card:hover {
  background-color: #215a90;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.already-visa-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.go-link {
  font-size: 11px;
  font-weight: 800;
  color: #93c5fd;
  letter-spacing: 0.05em;
  margin-top: 20px;
}

.already-visa-card:hover .go-link {
  color: #ffffff;
}

/* News & Upcoming Events Section Styling */
.news-events-section {
  background-color: #f4f6f9;
  padding: 50px 0;
  border-top: 1px solid #e2e8f0;
}

.news-events-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.news-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid #cbd5e1;
  padding-bottom: 12px;
  margin-bottom: 24px;
}

.section-heading {
  font-size: 26px;
  font-weight: 700;
  color: #1e3a8a;
}

.all-news-link {
  font-size: 13px;
  font-weight: 600;
  color: #1e3a8a;
  text-decoration: none;
}

.all-news-link:hover {
  text-decoration: underline;
}

.news-item {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid #e2e8f0;
}

.news-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.news-date {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 6px;
}

.news-title {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
  line-height: 1.4;
}

.news-desc {
  font-size: 13px;
  color: #475569;
  line-height: 1.6;
}

/* Social Media Section Styling */
#social-media {
  background-color: #f4f6f9;
  padding: 50px 0;
}

.social-section-title {
  font-size: 28px;
  font-weight: 700;
  color: #2b4c7e;
}

.social-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 440px;
}

.social-card-body {
  padding: 16px;
  overflow-y: auto;
  flex-grow: 1;
}

.social-post-text {
  font-size: 11.5px;
  color: #334155;
  line-height: 1.5;
}

.social-card-footer {
  padding: 14px 16px;
  border-top: 1px solid #e2e8f0;
  background-color: #fafbfc;
}

.social-page-name {
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
}

.social-post-date {
  font-size: 10px;
  color: #64748b;
}

.social-img-wrapper {
  width: 100%;
  height: 190px;
  overflow: hidden;
}

/* Visa & Permit Lookup Banner Styling */
.visa-lookup-section {
  background: linear-gradient(135deg, #091e3a 0%, #0c2b4d 100%);
  padding: 32px 0;
  color: #ffffff;
  border-top: 1px solid rgba(0, 128, 255, 0.3);
  border-bottom: 1px solid rgba(0, 128, 255, 0.3);
}

.visa-lookup-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.visa-lookup-title {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.visa-lookup-subtitle {
  font-size: 12.5px;
  color: #cbd5e1;
}

.visa-lookup-search-box {
  display: flex;
  align-items: center;
  background-color: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.visa-lookup-input {
  flex-grow: 1;
  padding: 10px 14px;
  font-size: 13px;
  color: #0f172a;
  border: none;
  outline: none;
  background: transparent;
}

.visa-lookup-input::placeholder {
  color: #94a3b8;
}

.visa-lookup-btn {
  background-color: #2b70ff;
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  margin: 3px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.visa-lookup-btn:hover {
  background-color: #1a56db;
}

/* Footer Section Styling */
.footer-section {
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
  padding: 60px 0;
  color: #475569;
  font-size: 13px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 30px;
}

.footer-title {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
  line-height: 1.3;
}

.footer-desc {
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 16px;
}

.footer-address {
  color: #334155;
  margin-bottom: 14px;
  line-height: 1.5;
}

.footer-link-primary {
  color: #1d4ed8;
  font-weight: 700;
  text-decoration: none;
}

.footer-link-primary:hover {
  text-decoration: underline;
}

.footer-heading {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #334155;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  color: #1d4ed8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links-list a:hover {
  color: #0f172a;
  text-decoration: underline;
}

/* Floating Live Chat Widget Styling */
.chat-toggle-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  outline: none;
}

.chat-bubble-text {
  background-color: #ffffff;
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  transition: transform 0.2s ease;
}

.chat-toggle-btn:hover .chat-bubble-text {
  transform: scale(1.05);
}

.chat-emblem-circle {
  width: 50px;
  height: 50px;
  background-color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border: 2px solid #ffffff;
}

/* Responsiveness for Mobile & Tablets */
@media (max-width: 1024px) {
  .already-visa-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .cards-grid,
  .news-events-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .social-card {
    height: auto;
  }
}

@media (max-width: 768px) {
  .visa-lookup-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }
  .visa-lookup-search-box {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .cards-grid,
  .already-visa-grid,
  .news-events-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}