html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
    color: #212529;
    line-height: 1.6;
}

/* Font size adjustment */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}

:root {
    --primary-blue: #034444;
    --secondary-blue: #034444;
    --accent-gold: #ffc107;
    --light-bg: #f8f9fa;
    --dark-text: #212529;
}

/* Top Utility Bar */
.utility-bar {
    background: linear-gradient(90deg,rgba(46, 46, 43, 1) 0%, rgba(158, 111, 8, 1) 100%);
    color: white;
    font-size: 0.9rem;
    padding: 8px 0;
}

.utility-link {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    transition: all 0.3s;
}

    .utility-link:hover {
        color: var(--accent-gold);
    }

.divider {
    border-right: 1px solid rgba(255,255,255,0.3);
    height: 20px;
}

/* Department Header */
.department-header {
    background: linear-gradient(135deg, #ffffff 0%, #f1f8ff 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
    border-bottom: 3px solid var(--accent-gold);
}

.logo-container {
    display: flex;
    align-items: center;
}

.state-emblem {
    height: 100px;
    margin-right: 20px;
}

.dept-titles h2 {
    font-weight: 600;
    color: var(--primary-blue);
    margin: 0;
}
/*header*/
@media (max-width: 768px) {
    .department-header {
        flex-direction: column;
        text-align: center;
    }

    .logo-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .state-emblem {
        margin-right: 0 !important;
        margin-bottom: 10px;
    }

    .dept-titles h2 {
        font-size: 15px !important;
        line-height: 1.3;
    }

    .right-logo {
        margin-left: 0 !important;
        margin-top: 10px;
    }

        .right-logo img {
            height: 60px !important;
        }
}
/*end header*/
.hero-section {
    position: relative;
    color: white;
    padding: 80px 0;
    text-align: center;
    height: 42vh;
    overflow: hidden;
}

    .hero-section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), /* shadow overlay */
        url('../img/ceoimg.jpg') center center no-repeat;
        background-size: 100% 100%;
        transform: scale(1.1);
        z-index: -1;
    }

    .hero-section h1,
    .hero-section p {
        position: relative; /* Ensures text stays above blur */
        z-index: 1;
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
    }



.hero-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-size: 1rem;
    max-width: 800px;
    margin: 0 auto 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Navbar */
.main-navbar {
    background: linear-gradient(90deg,rgba(46, 46, 43, 1) 0%, rgba(158, 111, 8, 1) 100%);
}

.nav-link {
    color: white !important;
    padding: 12px 20px !important;
    font-weight: 500;
    position: relative;
}

    .nav-link:hover, .nav-link:focus {
        color: var(--accent-gold) !important;
        background-color: rgba(255,255,255,0.1);
    }

    .nav-link.active {
        background-color: rgba(255,255,255,0.15);
    }

        .nav-link.active:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 20%;
            width: 60%;
            height: 3px;
            background-color: var(--accent-gold);
        }

/* Quick Links & Cards */
.quick-link-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    height: 100%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

    .quick-link-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 15px rgba(0,0,0,0.1);
    }

.quick-link-icon {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}
/*Newfooter*/
.main-footer {
    background-color: #002147;
    font-size: 15px;
    line-height: 1.6;
    margin-top: 0 !important; /* No space above footer */
    padding-top: 20px; /* Small padding for balance */
}

.footer-title {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-link {
    color: #dcdcdc;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .footer-link:hover {
        color: #ffcc00;
        padding-left: 5px;
    }

.footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-link {
    background-color: #ffcc00;
    color: #002147;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .social-link:hover {
        background-color: #ffffff;
        color: #002147;
        transform: translateY(-2px);
    }

@media (max-width: 768px) {
    .main-footer {
        text-align: center;
        padding-top: 20px;
    }

    .footer-title {
        font-size: 16px;
    }

    .footer-link {
        display: block;
        padding: 5px 0;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-about img {
        margin-top: 10px;
    }

    .row.align-items-center {
        flex-direction: column;
    }
}
/*end new fotter*/
/* Footer */
.main-footer {
    background: linear-gradient(90deg,rgba(46, 46, 43, 1) 0%, rgba(158, 111, 8, 1) 100%);
    color: white;
    padding: 40px 0 20px;
}

.footer-links h5 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

    .footer-links h5:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 50px;
        height: 2px;
        background-color: var(--accent-gold);
    }

.footer-links ul {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s;
}

    .footer-links a:hover {
        color: white;
        padding-left: 5px;
    }

.copyright-bar {
    background-color: rgba(0,0,0,0.2);
    padding: 15px 0;
    margin-top: 30px;
    font-size: 0.9rem;
}

.btn-govt {
    background-color: darkgoldenrod;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 50%;
    font-weight: 500;
    transition: all 0.3s;
}

    .btn-govt:hover {
        background-color: #034444;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

/* Media Queries */
@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .nav-link {
        padding: 10px 15px !important;
    }
}

@media (max-width: 768px) {
    .logo-container {
        flex-direction: column;
        text-align: center;
    }

    .state-emblem {
        margin-right: 0;
        margin-bottom: 15px;
        height: 70px;
    }

    .utility-bar .d-flex {
        flex-direction: column;
        align-items: center;
    }

    .divider {
        display: none;
    }

    .utility-link {
        margin: 5px 0;
    }

    .text-size button {
        margin-bottom: 5px;
    }
}

html, body {
    height: 100%;
}

body {
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
    margin: 0;
    padding-bottom: 100px; /* ensures space for fixed footer/back-to-top */
    background-color: #f8f9fa;
}

.utility-bar {
    background-color: #034444;
    color: white;
    font-size: 0.9rem;
    padding: 6px 20px;
}

.utility-link {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    transition: all 0.3s;
}

    .utility-link:hover {
        color: #ffc107;
    }

.department-header {
    background: linear-gradient(135deg, #ffffff 0%, #f1f8ff 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 20px 20px;
    border-bottom: 3px solid #ffc107;
}

.logo-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.state-emblem {
    height: 90px;
}

.dept-titles h2 {
    font-weight: 600;
    color: #034444;
    margin: 0;
}

.main-navbar {
    background-color: #034444 !important;
}

.nav-link {
    color: white !important;
    padding: 10px 18px !important;
    font-weight: 500;
}

    .nav-link:hover, .nav-link:focus {
        color: #ffc107 !important;
        background-color: rgba(255,255,255,0.1);
    }

    .nav-link.active {
        background-color: rgba(255,255,255,0.15);
    }

.main-footer {
    background: linear-gradient(90deg,rgba(46, 46, 43, 1) 0%, rgba(158, 111, 8, 1) 100%);
    color: white;
    padding: 40px 20px 20px;
    position: relative;
    bottom: 0;
    width: 100%;
}

.copyright-bar {
    background-color: rgba(0,0,0,0.2);
    padding: 15px 20px;
    font-size: 0.9rem;
    text-align: center;
}

.btn-govt {
    background-color: darkgoldenrod;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-weight: 500;
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1000;
}

    .btn-govt:hover {
        background-color: #034444;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }

/* Media Queries */
@media (max-width: 768px) {
    .logo-container {
        flex-direction: column;
        text-align: center;
    }

    .state-emblem {
        margin-bottom: 10px;
        height: 70px;
    }

    .utility-bar .d-flex {
        flex-direction: column;
        align-items: center;
    }
}

