@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@700&family=Roboto:wght@400;500;700&display=swap');

:root {
  --color-navy:    #003366;
  --color-amber:   #E8A020;
  --color-white:   #FFFFFF;
  --color-gray-light: #F4F4F4;
  --color-charcoal: #222222;
  --color-muted:   #666666;
  --font-display: 'Roboto Condensed', sans-serif;
  --font-body:    'Roboto', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-body); color: var(--color-charcoal); background-color: var(--color-white); line-height: 1.6; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 700; margin-bottom: 1rem; color: var(--color-navy); }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.text-amber { color: var(--color-amber); }
.text-white { color: var(--color-white); }
.text-navy { color: var(--color-navy); }
.bg-white { background-color: var(--color-white); }
.bg-light { background-color: var(--color-gray-light); }
.bg-navy { background-color: var(--color-navy); color: var(--color-white); }
.section-padding { padding: 80px 0; }

.btn {
  display: inline-block; padding: 12px 24px; font-weight: 700; border-radius: 4px;
  border: none; cursor: pointer; text-align: center; transition: background 0.3s ease, color 0.3s ease; font-family: var(--font-body);
}
.btn-primary { background: var(--color-amber); color: var(--color-navy); }
.btn-primary:hover { opacity: 0.9; }
.btn-secondary { background: transparent; border: 2px solid var(--color-navy); color: var(--color-navy); }
.btn-secondary:hover { background: var(--color-navy); color: var(--color-white); }
.btn-dark { background: var(--color-navy); color: var(--color-white); border: 2px solid var(--color-navy); }
.btn-dark:hover { opacity: 0.9; border: 2px solid var(--color-white); }

.top-info-bar { background-color: var(--color-navy); color: var(--color-white); height: 36px; display: flex; align-items: center; font-size: 0.85rem; }
.top-info-bar .container { display: flex; justify-content: space-between; align-items: center; width: 100%; }

.main-navbar { background-color: var(--color-white); border-bottom: 2px solid var(--color-gray-light); position: sticky; top: 0; z-index: 1000; }
.main-navbar .container { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.nav-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.5rem; color: var(--color-navy); font-weight: 700; }
.nav-brand svg { width: 32px; height: 32px; fill: var(--color-amber); }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-family: var(--font-body); font-weight: 500; height: 80px; line-height: 80px; border-bottom: 3px solid transparent; transition: border-color 0.3s ease, color 0.3s ease; }
.nav-links a:hover, .nav-links a.active { border-bottom: 3px solid var(--color-amber); color: var(--color-navy); }
.nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--color-navy); }

.dept-icon-bar { background-color: var(--color-gray-light); padding: 30px 0; border-bottom: 1px solid #e0e0e0; }
.dept-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; text-align: center; }
.dept-card { background: var(--color-white); padding: 20px 10px; border-radius: 4px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); transition: box-shadow 0.3s ease, border-top 0.3s ease; border-top: 3px solid transparent; display: block; }
.dept-card:hover { border-top: 3px solid var(--color-amber); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.dept-card svg { width: 40px; height: 40px; color: var(--color-navy); margin: 0 auto 10px auto; transition: color 0.3s ease; stroke: currentColor; fill: none; stroke-width: 2; }
.dept-card:hover svg { color: var(--color-amber); }
.dept-card h4 { font-family: var(--font-display); color: var(--color-navy); margin-bottom: 5px; font-size: 1rem; }
.dept-card p { font-family: var(--font-body); font-size: 0.8rem; color: var(--color-muted); line-height: 1.2; }

.hero { position: relative; height: calc(100vh - 116px); min-height: 600px; display: flex; align-items: center; justify-content: center; background: #222; overflow: hidden; }
.hero-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.8s ease-in-out; background-size: cover; background-position: center; pointer-events: none; }
.hero-slide.active { opacity: 1; pointer-events: auto; z-index: 1; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 51, 102, 0.5); z-index: 2; pointer-events: none; }
.hero-content { position: relative; z-index: 3; color: var(--color-white); text-align: center; padding: 0 20px; max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.hero-content h1 { font-family: var(--font-display); font-size: 4rem; margin-bottom: 20px; color: var(--color-white); text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.hero-content p { font-size: 1.5rem; margin-bottom: 40px; text-shadow: 0 1px 2px rgba(0,0,0,0.5); }
.hero-nav { position: absolute; top: 50%; width: 100%; display: flex; justify-content: space-between; transform: translateY(-50%); z-index: 4; padding: 0 40px; pointer-events: none; }
.hero-btn { pointer-events: auto; background: none; border: none; color: var(--color-white); font-size: 3rem; cursor: pointer; opacity: 0.6; transition: opacity 0.3s ease, color 0.3s ease;}
.hero-btn:hover { opacity: 1; color: var(--color-amber); }
.hero-dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; z-index: 4; }
.hero-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--color-white); opacity: 0.4; cursor: pointer; border: none; transition: background 0.3s, opacity 0.3s;}
.hero-dot.active { background: var(--color-amber); opacity: 1; }

.section-label { font-family: var(--font-display); color: var(--color-amber); text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem; margin-bottom: 10px; display: block; }
.section-title { font-size: 2.5rem; margin-bottom: 40px; color: var(--color-navy); }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card { background: var(--color-white); border-radius: 4px; padding: 40px 30px; box-shadow: 0 2px 12px rgba(0,0,0,0.08); transition: border-top 0.3s ease; border-top: 3px solid transparent; }
.card:hover { border-top: 3px solid var(--color-amber); }
.card svg { color: var(--color-navy); width: 48px; height: 48px; margin-bottom: 20px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.card h3 { color: var(--color-navy); font-size: 1.4rem; margin-bottom: 15px; }
.card p { color: var(--color-charcoal); margin-bottom: 20px; }
.card a.read-more { color: var(--color-amber); font-weight: 700; text-decoration: none; font-family: var(--font-body); }
.card a.read-more:hover { text-decoration: underline; }

.stats-bar { background: var(--color-navy); color: var(--color-white); padding: 60px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-number { font-family: var(--font-display); font-size: 4rem; color: var(--color-amber); line-height: 1; margin-bottom: 10px; }
.stat-label { font-family: var(--font-body); font-size: 1.1rem; color: var(--color-white); }

.footer { background: var(--color-navy); color: var(--color-white); padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer h4 { font-family: var(--font-display); color: var(--color-white); margin-bottom: 20px; font-size: 1.2rem; }
.footer p, .footer ul, .footer li { color: var(--color-white); opacity: 0.8; font-size: 0.95rem; line-height: 1.8; }
.footer ul li { margin-bottom: 10px; }
.footer ul a:hover { color: var(--color-amber); text-decoration: underline; opacity: 1; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; font-size: 0.85rem; opacity: 0.7; }
.newsletter { display: flex; margin-top: 15px; }
.newsletter input { flex: 1; padding: 12px; border: none; border-radius: 4px 0 0 4px; font-family: var(--font-body); }
.newsletter button { padding: 12px 20px; border: none; background: var(--color-amber); color: var(--color-navy); font-weight: 700; border-radius: 0 4px 4px 0; cursor: pointer; transition: opacity 0.3s; }
.newsletter button:hover { opacity: 0.9; }

.page-banner { position: relative; padding: 120px 20px 80px; text-align: center; background: #111; color: var(--color-white); }
.page-banner-bg { position: absolute; top:0; left:0; width:100%; height:100%; object-fit: cover; opacity: 0.4; }
.page-banner-content { position: relative; z-index: 2; }
.page-banner h1 { font-size: 3.5rem; color: var(--color-white); margin-bottom: 10px; }
.page-banner .underline { margin: 0 auto 20px; width: 60px; height: 4px; background: var(--color-amber); }
.page-banner p { font-size: 1.2rem; }

/* Utilities specific to requirements */
.amber-border-hover:hover { border-top: 3px solid var(--color-amber); }

@media (max-width: 992px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 80px; left: 0; width: 100%; background: var(--color-white); border-bottom: 2px solid var(--color-gray-light); padding: 20px 0; box-shadow: 0 10px 10px rgba(0,0,0,0.05); }
  .nav-links a { height: auto; line-height: normal; padding: 15px 20px; border: none !important; }
  .nav-links .btn { margin: 15px 20px; }
  .nav-toggle { display: block; }
  .main-navbar .nav-links.active { display: flex; }
  
  .dept-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-content h1 { font-size: 2.5rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .dept-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: 1fr; }
  .top-info-bar { height: auto; padding: 10px 0; }
  .top-info-bar .container { flex-direction: column; gap: 5px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* DROPDOWN MENU */
.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown .dropbtn {
    display: inline-block;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--color-navy);
    min-width: 220px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1000;
    top: 100%;
    left: 0;
    border-top: 3px solid var(--color-amber);
    border-radius: 0 0 4px 4px;
    padding: 10px 0;
}
.dropdown-content a {
    color: var(--color-white) !important;
    padding: 10px 20px !important;
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    border-bottom: none !important;
    margin: 0 !important;
}
.dropdown-content a:hover {
    background-color: rgba(255,255,255,0.05);
    color: var(--color-amber) !important;
}
.dropdown:hover .dropdown-content {
    display: block;
}
@media (max-width: 768px) {
    .dropdown-content {
        position: static;
        box-shadow: none;
        border-top: none;
        background-color: rgba(0,0,0,0.1);
        padding-left: 20px;
        min-width: 100%;
        display: none;
    }
    .dropdown:hover .dropdown-content {
        display: block;
    }
}

/* MOBILE FIX FOR INLINE GRIDS */
@media (max-width: 992px) {
  div[style*="repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
}


/* GOOGLE TRANSLATE CUSTOM STYLING */
#google_translate_element {
  display: inline-flex;
  align-items: center;
  margin-left: 15px;
}
.goog-te-gadget-simple {
  background-color: transparent !important;
  border: none !important;
  padding: 0 !important;
  font-family: var(--font-body) !important;
  cursor: pointer;
  display: flex !important;
  align-items: center;
}
.goog-te-gadget-simple .goog-te-menu-value {
  color: var(--color-navy) !important;
  text-decoration: none !important;
}
.goog-te-gadget-simple .goog-te-menu-value span {
  color: var(--color-navy) !important;
  font-weight: 500 !important;
  font-size: 1rem !important;
  border: none !important;
  transition: color 0.3s ease;
}
.goog-te-gadget-simple .goog-te-menu-value span:hover {
  color: var(--color-amber) !important;
}
/* Hide the Google Image and pipe separator */
.goog-te-gadget-simple img, .goog-te-gadget-simple span[aria-hidden="true"] {
  display: none !important;
}

/* Aggressively hide the translation banner and structural pushing by Google */
html { top: 0 !important; }
body { top: 0 !important; position: static !important; }
iframe.skiptranslate, .skiptranslate iframe, .goog-te-banner-frame {
  display: none !important;
}
#goog-gt-tt, .goog-te-balloon-frame {
  display: none !important;
}

/* Mobile dropdown positioning */
@media (max-width: 992px) {
  #google_translate_element {
    margin: 10px auto 20px auto !important; /* Centered visually in dropdown */
  }
  .goog-te-gadget-simple .goog-te-menu-value span {
    font-size: 1.1rem !important;
  }
}

/* CUSTOM FLOATING WIDGET */
.custom-lang-widget {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 90px;
    height: 45px;
    background: var(--color-white);
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    z-index: 9999;
    border: 2px solid var(--color-amber);
    transition: opacity 0.5s ease, transform 0.3s ease;
    animation: alertPulse 5s infinite;
}
.custom-lang-widget.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}
.custom-lang-widget .lang-flag {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    transition: left 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55), z-index 0.4s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--color-gray-light);
    margin: 0 5px;
}
.custom-lang-widget .lang-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.custom-lang-widget .lang-flag:hover {
    transform: translateY(-50%) scale(1.1);
}

@keyframes alertPulse {
    0%, 100% { transform: translateY(0); }
    2% { transform: translateY(-15px); }
    4% { transform: translateY(0); }
}
