/* the following css code is for contact page */

:root {
    --dod-blue: #0d2f51;
    --dod-gold: #b6862a;
    --dod-light: #f2f2f2;
    --dod-dark: #1a1a1a;
}

body {
    /* Font is set by fonts.css based on language */
    color: #333;
    line-height: 1.6;
}

/* Header and Navigation */
.navbar {
    background-color: var(--dod-blue);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    padding: 0.5rem 0;
}

.navbar-brand h3 {
    color: white;
    font-weight: 700;
    margin: 0;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

 /* logo css */
/* Adjustable logo size */
.logo-img {
height: 70px; /* Default height */
width: auto;  /* Maintains aspect ratio */
transition: all 0.3s ease; /* smooth resizing */
}
/* Example: decrease logo size .logo-img.small {
height: 40px;
} */

/* Example: increase logo size */
.logo-img.large {
height: 70px;
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://placehold.co/1920x600/0d2f51/ffffff') center/cover no-repeat;
    padding: 120px 0 80px;
    color: white;
    text-align: center;
    border-bottom: 4px solid var(--dod-gold);
}

.page-header h1 {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-header .lead {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Section Styling */
.section-padding {
    padding: 80px 0;
}

.section-title {
    position: relative;
    margin-bottom: 40px;
    padding-bottom: 15px;
    font-weight: 700;
    color: var(--dod-blue);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--dod-gold);
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
}

.contact-info-card, .contact-form-card {
    background: white;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 30px;
    height: 100%;
    border-top: 4px solid var(--dod-blue);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(13, 47, 81, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    color: var(--dod-blue);
    font-size: 20px;
}

.contact-text h5 {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dod-dark);
}

.contact-text p {
    margin-bottom: 3px;
    color: #666;
}

.social-links {
    display: flex;
    gap: 15px;
    margin: 30px 0;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--dod-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--dod-gold);
    transform: translateY(-3px);
}

.map-container {
    margin-top: 30px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
}

.map-placeholder {
    background: linear-gradient(45deg, #e3f2fd, #bbdefb);
    padding: 40px;
    text-align: center;
    color: var(--dod-blue);
    font-weight: 600;
}

.map-placeholder i {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: var(--dod-blue);
    box-shadow: 0 0 0 0.25rem rgba(13, 47, 81, 0.25);
}

.btn-primary {
    background-color: var(--dod-blue);
    border-color: var(--dod-blue);
    padding: 12px 25px;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: #0a243f;
    border-color: #0a243f;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--dod-gold);
    border-color: var(--dod-gold);
    padding: 12px 25px;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background-color: #9a7124;
    border-color: #9a7124;
    transform: translateY(-2px);
}

.cta-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    justify-content: center;
}

.chat-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chat-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--dod-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: all 0.3s;
}

.chat-button:hover {
    background-color: var(--dod-gold);
    transform: scale(1.1);
}

.chat-window {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 350px;
    background: white;
    border-radius: 4px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    display: none;
}

.chat-header {
    background-color: var(--dod-blue);
    color: white;
    padding: 15px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-body {
    padding: 15px;
    height: 300px;
    overflow-y: auto;
}

.chat-footer {
    padding: 15px;
    border-top: 1px solid #eee;
}

.help-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.help-option {
    background-color: #f5f7fa;
    border: 1px solid #e4e8f0;
    border-radius: 4px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

.help-option:hover {
    background-color: var(--dod-blue);
    color: white;
    transform: translateY(-3px);
}

.help-option i {
    font-size: 24px;
    margin-bottom: 10px;
    display: block;
}

/* Footer */
footer {
    background-color: var(--dod-dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-heading {
    color: var(--dod-gold);
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--dod-gold);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--dod-gold);
    padding-left: 5px;
}

.social-icons a {
    display: inline-block;
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 38px;
    color: white;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: var(--dod-gold);
    transform: translateY(-3px);
}

.newsletter-form {
    display: flex;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    outline: none;
}

.newsletter-form button {
    background: var(--dod-gold);
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-form button:hover {
    background: #9a7124;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 40px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--dod-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    transition: all 0.3s;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
}

.back-to-top:hover {
    background: var(--dod-gold);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
    }
    
    .help-options {
        grid-template-columns: 1fr;
    }
    
    .chat-window {
        width: 300px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: 4px;
        margin-bottom: 10px;
    }
    
    .newsletter-form button {
        border-radius: 4px;
    }
}
/* above css code is for contact page */


/* the following css code is for about page */

:root {
    --dod-blue: #0d2f51;
    --dod-gold: #b6862a;
    --dod-light: #f2f2f2;
    --dod-dark: #1a1a1a;
}

body {
    /* Font is set by fonts.css based on language */
    color: #333;
    line-height: 1.6;
}

/* Header and Navigation */
.navbar {
    background-color: var(--dod-blue);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    padding: 0.5rem 0;
}

.navbar-brand h3 {
    color: white;
    font-weight: 700;
    margin: 0;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

 /* logo css */
/* Adjustable logo size */
.logo-img {
height: 70px; /* Default height */
width: auto;  /* Maintains aspect ratio */
transition: all 0.3s ease; /* smooth resizing */
}
/* Example: decrease logo size .logo-img.small {
height: 40px;
} */

/* Example: increase logo size */
.logo-img.large {
height: 70px;
}

/* Page Header */
.page-header {
height: 70vh; /* or use 100vh if you want full screen */
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
position: relative;
color: white;
text-align: center;
border-bottom: 4px solid var(--dod-gold);
}

.page-header h1 {
font-weight: 700;
text-transform: uppercase;
letter-spacing: 1px;
}

.page-header .lead {
font-size: 1.25rem;
max-width: 800px;
margin: 0 auto;
}

/* ✅ Video background */
.page-header-video {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
z-index: 0;
}

/* ✅ Overlay for readability */
.page-header-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.4);
z-index: 1;
}

.page-header .container {
z-index: 2; /* text above everything */
}

/* Section Styling */
.section-padding {
    padding: 80px 0;
}

.section-title {
    position: relative;
    margin-bottom: 40px;
    padding-bottom: 15px;
    font-weight: 700;
    color: var(--dod-blue);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--dod-gold);
}

/* About Section */
.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-image {
    border: 1px solid #ddd;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Mission Section */
.mission-section {
    background-color: var(--dod-light);
    padding: 80px 0;
}

.mission-card {
    background: white;
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    border-top: 4px solid var(--dod-blue);
}

.mission-icon {
    font-size: 2.5rem;
    color: var(--dod-blue);
    margin-bottom: 20px;
}

/* Leadership Section */
.leader-card {
    background: white;
    padding: 25px;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

.leader-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.leader-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 3px solid var(--dod-light);
}

.leader-name {
    color: var(--dod-blue);
    font-weight: 700;
    margin-bottom: 5px;
}

.leader-position {
    color: var(--dod-gold);
    font-weight: 500;
    margin-bottom: 15px;
}

/* History Section */
.history-section {
    background: linear-gradient(rgba(13, 47, 81, 0.9), rgba(13, 47, 81, 0.9)), url('https://placehold.co/1920x600/1a1a1a/ffffff') fixed center/cover;
    color: white;
    padding: 80px 0;
}

.history-section .section-title {
    color: white;
}

.history-section .section-title::after {
    background-color: var(--dod-gold);
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--dod-gold);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    background-color: white;
    border: 4px solid var(--dod-gold);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.left {
    left: 0;
    text-align: right;
}

.right {
    left: 50%;
}

.left::after {
    right: -13px;
}

.right::after {
    left: -13px;
}

.timeline-content {
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    border-left: 3px solid var(--dod-gold);
}

.timeline-year {
    font-weight: 700;
    color: var(--dod-gold);
    margin-bottom: 5px;
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background-color: var(--dod-light);
}

.stat-box {
    text-align: center;
    padding: 30px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dod-blue);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--dod-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer */
footer {
    background-color: var(--dod-dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-heading {
    color: var(--dod-gold);
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--dod-gold);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--dod-gold);
    padding-left: 5px;
}

.social-icons a {
    display: inline-block;
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 38px;
    color: white;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: var(--dod-gold);
    transform: translateY(-3px);
}

.newsletter-form {
    display: flex;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    outline: none;
}

.newsletter-form button {
    background: var(--dod-gold);
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-form button:hover {
    background: #9a7124;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 40px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--dod-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    transition: all 0.3s;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
}

.back-to-top:hover {
    background: var(--dod-gold);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item::after {
        left: 18px;
    }
    
    .left, .right {
        left: 0;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 80px 0 60px;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: 4px;
        margin-bottom: 10px;
    }
    
    .newsletter-form button {
        border-radius: 4px;
    }
}
/* the above css code is for about page */

/* the above css code is for home page */

:root {
    --dod-blue: #0d2f51;
    --dod-gold: #b6862a;
    --dod-light: #f2f2f2;
    --dod-dark: #1a1a1a;
    --primary-color: #0d2f51;
    --primary-hover: #0d2f51;
    --secondary-color: #6b7177;
    --light-bg: #f8f9fa;
    --text-dark: #202223;
    --text-light: #6d7175;
    --white: #ffffff;
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* Font is set by fonts.css based on language */
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}
/* logo css */
/* Adjustable logo size */
.logo-img {
height: 70px; /* Default height */
width: auto;  /* Maintains aspect ratio */
transition: all 0.3s ease; /* smooth resizing */
}
/* Example: decrease logo size .logo-img.small {
height: 40px;
} */

/* Example: increase logo size */
.logo-img.large {
height: 70px;
}


/* Navbar Styles */
.navbar {
    background-color: var(--dod-blue) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 0.15rem 0;
    min-height: auto;
}

.navbar-brand {
display: flex;
align-items: center;
gap: 10px; /* space between logo and name */
font-weight: 700;
font-size: 1.25rem;
color: var(--white);
}

.navbar-brand .site-name {
display: inline-block;
color: var(--white);
}


.navbar .nav-link {
    color: var(--white) !important;
    padding: 0.2rem 0.6rem;
    line-height: 1.1;
    font-weight: 500;
    font-size: 0.95rem;
}

.navbar .nav-link:hover {
    color: var(--dod-gold) !important;
}

.navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.9) !important;
    border-radius: 4px !important;
    padding: 0.4rem 0.6rem !important;
    background-color: transparent !important;
    color: white !important;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25) !important;
    outline: none !important;
}

.navbar-toggler:hover {
    border-color: rgba(255, 255, 255, 1) !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    width: 1.5em !important;
    height: 1.5em !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background-color: #000;
}

.hero-carousel {
    height: 100%;
}

.carousel-inner, .carousel-item {
    height: 100%;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: var(--white);
    text-align: center;
    width: 100%;
    padding: 0 1rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards 0.5s;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards 0.8s;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards 1.1s;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 128, 96, 0.2);
}

.btn-outline-light {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Section Styling */
.section-padding {
    padding: 6rem 0;
}

.section-title {
    position: relative;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    font-size: 2.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.section-title.center {
    text-align: center;
}

.section-title.center::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
}

/* Director Message */
.director-section {
    position: relative;
    overflow: hidden;
}

.director-img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.director-img:hover {
    transform: scale(1.02);
}

.director-name {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.director-quote {
    font-style: italic;
    border-left: 3px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
}

/* Services Section */
.services-section {
    background-color: var(--light-bg);
}

.service-box {
    padding: 2.5rem;
    background-color: var(--white);
    border-radius: var(--border-radius);
    transition: var(--transition);
    box-shadow: var(--box-shadow);
    height: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--primary-color);
    opacity: 0.05;
    transition: var(--transition);
    z-index: 0;
}

.service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-box:hover::before {
    height: 100%;
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.service-description {
    color: var(--text-light);
    position: relative;
    z-index: 1;
}

/* Testimonials */
.testimonials-section {
    background-color: var(--white);
}

.testimonial-card {
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
    background-color: var(--white);
    transition: var(--transition);
    height: 100%;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.client-info {
    display: flex;
    align-items: center;
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.client-details h5 {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.client-details p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Projects Section */
.projects-section {
    background-color: var(--light-bg);
}

.project-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    background-color: var(--white);
    border: 1px solid #e1e3e5;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.project-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    position: relative;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.project-img-container {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.it-directorate-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--dod-blue);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.project-description {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f1f1;
}

.project-category {
    background: rgba(0, 128, 96, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-date {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Team Section */
.team-section {
    background-color: var(--white);
}

.team-member {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    position: relative;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.team-img-container {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.team-member img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover img {
    transform: scale(1.05);
}

.team-content {
    padding: 1.5rem;
    text-align: center;
}

.team-name {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.team-position {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.team-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.skill-tag {
    background: rgba(0, 128, 96, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light-bg);
    color: var(--text-dark);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* Counter Section */
.counter-section {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('https://placehold.co/1920x1080') center/cover no-repeat;
    color: var(--white);
}

.counter-box {
    text-align: center;
    padding: 2rem;
}

.counter {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.counter-text {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Newsletter Section */
.newsletter-section {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4rem 0;
}

.newsletter-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1rem;
}

.newsletter-btn {
    padding: 0 1.5rem;
    background: var(--dod-dark);
    color: var(--white);
    border: none;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-btn:hover {
    background: #000;
}

/* Footer */
.footer {
    background-color: var(--dod-dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-heading {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-links i {
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .section-padding {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-input {
        border-radius: var(--border-radius);
        margin-bottom: 1rem;
    }
    
    .newsletter-btn {
        border-radius: var(--border-radius);
        padding: 0.75rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .counter {
        font-size: 2.5rem;
    }
}
/* the above css code is for home page */

/* the following css code is for news and multimedia page */

/* :root selector defines global CSS variables (custom properties) for consistent theming across the site */
:root {
    --dod-blue: #0d2f51; /* Defines a custom color variable for a deep blue */
    --dod-gold: #b6862a; /* Defines a custom color variable for a gold/accent color */
    --dod-light: #f2f2f2; /* Defines a custom color variable for a light gray background */
    --dod-dark: #1a1a1a; /* Defines a custom color variable for a near-black text color */
    --gradient: linear-gradient(135deg, var(--dod-blue) 0%, #1e4a82 100%); /* Creates a gradient using the blue variables */
    --primary-color: var(--dod-blue); /* Sets the primary brand color to the blue */
    --secondary-color: #6c757d; /* Sets a secondary color for less important text (muted gray) */
    --dark-color: var(--dod-dark); /* Sets the dark text color */
    --accent-color: var(--dod-gold); /* Sets the accent color to the gold */
    --success-color: #28a745; /* Defines a green color for success states (e.g., form validation) */
}
        
/* Styles for the main body of the webpage */
body {
    /* Font is set by fonts.css based on language */
    background-color: #f5f7ff; /* Sets a very light blue off-white background color */
    color: #333; /* Sets the default text color to a dark gray */
    padding: 0; /* Removes default body padding */
    margin: 0; /* Removes default body margin */
    display: flex; /* Uses flexbox layout */
    flex-direction: column; /* Arranges child elements in a column (header, main, footer) */
    min-height: 100vh; /* Ensures the body takes at least the full height of the viewport */
}
        
/* A wrapper for the main content area (between header and footer) */
.content-wrapper {
    flex: 1; /* This element will grow to push the footer to the bottom, ensuring the sticky footer works. */
}
        
/* Enhanced Navigation */
/* Styles for the main navigation bar */
.navbar {
    background: var(--gradient) !important; /* Applies the defined gradient as the navbar background */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow for depth */
    padding: 12px 0; /* Adds vertical padding inside the navbar */
}
        
/* Styles for the brand/logo section within the navbar */
.navbar-brand {
    display: flex; /* Uses flexbox to align logo and text */
    align-items: center; /* Vertically centers the items inside */
    font-weight: 700; /* Makes the text bold */
    font-size: 1.5rem; /* Sets a large font size for the brand name */
}
        
/* Styles for the logo image */
.logo-img {
    height: 40px; /* Sets a fixed height for the logo */
    margin-right: 12px; /* Adds space between the logo and the site name */
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2)); /* Adds a drop shadow effect to the logo */
}
        
/* Styles for the text part of the brand */
.site-name {
    color: white; /* Makes the site name white */
    text-shadow: 0 2px 4px rgba(0,0,0,0.2); /* Adds a text shadow for better contrast on the gradient */
}
        
/* Styles for the individual navigation links */
.nav-link {
    color: rgba(255, 255, 255, 0.85) !important; /* Sets link color to semi-transparent white */
    font-weight: 500; /* Sets medium font weight */
    margin: 0 5px; /* Adds horizontal margin between links */
    border-radius: 8px; /* Rounds the corners of the link background */
    transition: all 0.3s ease; /* Smoothly animates all property changes (for hover effects) */
}
        
/* Styles for navigation links on hover and when active (current page) */
.nav-link:hover, .nav-link.active {
    color: white !important; /* Makes text fully white on hover/active */
    background: rgba(255, 255, 255, 0.15); /* Adds a light white background on hover/active */
    transform: translateY(-2px); /* Lifts the link up slightly on hover/active */
}
        
/* Container for the main news/multimedia menu/content section */
.news-multimedia-menu {
    max-width: 1300px; /* Sets a maximum width for the content */
    margin: 30px auto; /* Centers the container horizontally and adds vertical space */
    background: white; /* Sets a white background */
    border-radius: 20px; /* Rounds the corners of the container */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1); /* Adds a prominent shadow for a "floating" card effect */
    overflow: hidden; /* Clips any child content that overflows the rounded corners */
}

/* The header section at the top of the news-multimedia-menu */
.menu-header {
    background: var(--gradient); /* Uses the same gradient as the navbar */
    color: white; /* White text color */
    padding: 30px 20px; /* Adds generous padding inside the header */
    text-align: center; /* Centers the text horizontally */
    position: relative; /* Establishes a positioning context for the pseudo-element */
    overflow: hidden; /* Hides any part of the pseudo-element that spills out */
}
        
/* A pseudo-element that creates a decorative light effect over the header background */
.menu-header::before {
    content: ''; /* Required for pseudo-elements */
    position: absolute; /* Positions it absolutely within the .menu-header */
    top: -50%; /* Positions it starting halfway above the header */
    left: -50%; /* Positions it starting halfway left of the header */
    width: 200%; /* Makes it twice as wide as the header */
    height: 200%; /* Makes it twice as tall as the header */
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%); /* Creates a radial gradient for a light burst effect */
    transform: rotate(30deg); /* Rotates the element for a dynamic angle */
}
        
/* Styles for the main heading (h2) inside the menu header */
.menu-header h2 {
    font-size: 2.5rem; /* Very large font size */
    margin-bottom: 10px; /* Space below the heading */
    position: relative; /* Ensures the text appears above the ::before pseudo-element */
    text-shadow: 0 2px 8px rgba(0,0,0,0.2); /* Adds a text shadow for depth */
}
        
/* Styles for the paragraph (p) inside the menu header */
.menu-header p {
    font-size: 1.1rem; /* Slightly larger than default font size */
    opacity: 0.9; /* Makes the text slightly transparent */
    max-width: 600px; /* Restricts the width for better readability */
    margin: 0 auto; /* Centers the paragraph block */
    position: relative; /* Ensures the text appears above the ::before pseudo-element */
}
        
/* Container for the sticky tab navigation bar */
.menu-tabs-container {
    position: sticky; /* Makes the element stick to the top of the viewport when scrolling */
    top: 0; /* The distance from the top of the viewport at which to stick */
    z-index: 100; /* Ensures the tabs appear above other content when scrolling */
    background: white; /* White background */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* Adds a subtle shadow below the sticky bar */
}
        
/* The actual container for the tab buttons */
.menu-tabs {
    display: flex; /* Arranges the tabs in a row */
    border-bottom: 1px solid #e9ecef; /* Adds a light border below the tabs */
    background: #f8f9fa; /* Light gray background for the tab bar */
    overflow-x: auto; /* Allows horizontal scrolling if there are too many tabs */
    scrollbar-width: none; /* Hides scrollbar in Firefox */
    padding: 0 20px; /* Horizontal padding */
}
        
/* Hides the scrollbar for the tab container in Webkit browsers (Chrome, Safari) */
.menu-tabs::-webkit-scrollbar {
    display: none;
}
        
/* Styles for each individual tab button */
.menu-tab {
    padding: 18px 30px; /* Padding inside the tab */
    cursor: pointer; /* Changes cursor to indicate it's clickable */
    font-weight: 600; /* Bold text */
    white-space: nowrap; /* Prevents the tab text from wrapping */
    border-bottom: 3px solid transparent; /* Creates an invisible border (for the active state) */
    transition: all 0.3s ease; /* Smooth transition for hover/active states */
    display: flex; /* Allows alignment of icon and text */
    align-items: center; /* Vertically centers icon and text */
    color: var(--secondary-color); /* Uses the secondary gray color */
}
        
/* Styles for icons within the tab (assuming an icon font is used) */
.menu-tab i {
    margin-right: 8px; /* Space between icon and text */
    font-size: 1.1rem; /* Slightly larger icon size */
}
        
/* Styles for a tab when hovered */
.menu-tab:hover {
    background: rgba(78, 111, 255, 0.08); /* Very light blue background on hover */
    color: var(--primary-color); /* Changes text color to primary blue on hover */
}
        
/* Styles for the currently active tab */
.menu-tab.active {
    border-bottom: 3px solid var(--primary-color); /* Highlights the bottom border with primary color */
    color: var(--primary-color); /* Changes text color to primary blue */
    background: white; /* Sets background to white */
}
        
/* The container for the content shown below the tabs */
.menu-content {
    padding: 40px; /* Adds padding around the content */
}
        
/* Base styles for each tab's content section - hidden by default */
.tab-content {
    display: none; /* Hides the content */
}
        
/* Styles for the currently active tab's content */
.tab-content.active {
    display: block; /* Displays the content */
    animation: fadeIn 0.5s ease; /* Applies a fade-in animation */
}
        
/* Keyframes defining the fadeIn animation used for tab content */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); } /* Start state: invisible and slightly lower */
    to { opacity: 1; transform: translateY(0); } /* End state: fully visible and in normal position */
}
        
/* Container for the search input box */
.search-box {
    margin-bottom: 30px; /* Space below the search box */
    position: relative; /* Positioning context for the absolute positioned button */
}
        
/* Styles for the search input field */
.search-box input {
    width: 100%; /* Makes the input fill its container */
    padding: 18px 25px; /* Generous padding inside the input */
    border: 2px solid #e9ecef; /* Light gray border */
    border-radius: 50px; /* Fully rounded ends to make a "pill" shape */
    font-size: 1rem; /* Standard font size */
    transition: all 0.3s ease; /* Smooth transition for focus state */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); /* Subtle shadow */
}
        
/* Styles for the search input when it is focused (clicked on) */
.search-box input:focus {
    outline: none; /* Removes the default browser outline */
    border-color: var(--primary-color); /* Changes border color to primary blue */
    box-shadow: 0 0 0 0.25rem rgba(78, 111, 255, 0.25); /* Adds a blue glow effect */
}
        
/* Styles for the search button inside the search box */
.search-box button {
    position: absolute; /* Positions it absolutely within the .search-box */
    right: 6px; /* Positions it from the right edge */
    top: 6px; /* Positions it from the top edge */
    background: var(--gradient); /* Uses the gradient for the button background */
    border: none; /* Removes default border */
    color: white; /* White icon/text */
    width: 50px; /* Fixed width */
    height: 50px; /* Fixed height, making it a circle */
    border-radius: 50%; /* Makes the button a perfect circle */
    display: flex; /* Used to center the icon */
    align-items: center; /* Vertically centers the icon */
    justify-content: center; /* Horizontally centers the icon */
    transition: all 0.3s ease; /* Smooth transition for hover effect */
    box-shadow: 0 4px 10px rgba(78, 111, 255, 0.3); /* Blue shadow */
}
        
/* Styles for the search button on hover */
.search-box button:hover {
    transform: rotate(10deg); /* Rotates the button slightly on hover */
    box-shadow: 0 6px 15px rgba(78, 111, 255, 0.4); /* Enhances the shadow on hover */
}
        
/* Container for the filter buttons (e.g., "All", "News", "Videos") */
.filter-options {
    display: flex; /* Arranges filter buttons in a row */
    flex-wrap: wrap; /* Allows buttons to wrap to the next line if needed */
    gap: 12px; /* Space between the buttons */
    margin-bottom: 35px; /* Space below the filter row */
}
        
/* Styles for each individual filter button */
.filter-btn {
    padding: 10px 24px; /* Padding inside the button */
    background: white; /* White background */
    border: 1px solid #e9ecef; /* Light gray border */
    border-radius: 50px; /* Rounded "pill" shape */
    font-size: 14px; /* Small font size */
    font-weight: 500; /* Medium font weight */
    cursor: pointer; /* Pointer cursor on hover */
    transition: all 0.3s ease; /* Smooth transition for all properties */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); /* Subtle shadow */
}
        
/* Styles for filter buttons on hover and when active/selected */
.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient); /* Fills button with gradient on hover/active */
    color: white; /* Changes text color to white */
    border-color: var(--primary-color); /* Changes border color to primary blue */
    transform: translateY(-2px); /* Lifts the button up slightly */
    box-shadow: 0 6px 12px rgba(78, 111, 255, 0.2); /* Blue shadow */
}
        
/* Grid layout container for news cards, media items, etc. */
.content-grid {
    display: grid; /* Uses CSS Grid layout */
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); /* Creates responsive columns. Auto-fill as many columns as possible that are at least 320px wide. */
    gap: 30px; /* Space between grid items */
}
        
/* Styles for a card component displaying a news article */
.news-card {
    background: white; /* White background */
    border-radius: 16px; /* Rounded corners */
    overflow: hidden; /* Clips the image to the rounded corners */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06); /* Shadow for depth */
    transition: all 0.4s ease; /* Smooth transition for hover effects */
    height: 100%; /* Makes all cards in a row the same height */
    display: flex; /* Uses flexbox for internal layout */
    flex-direction: column; /* Stacks child elements vertically */
}
        
/* Styles for the news card when hovered */
.news-card:hover {
    transform: translateY(-8px); /* Lifts the card up significantly */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); /* Increases the shadow for a "lifting" effect */
}
        
/* Container for the image inside the news card */
.news-image {
    height: 220px; /* Fixed height for the image area */
    overflow: hidden; /* Hides any part of the image that overflows */
    position: relative; /* Positioning context for the category label */
}
        
/* Styles for the image itself within its container */
.news-image img {
    width: 100%; /* Makes image fill the container width */
    height: 100%; /* Makes image fill the container height */
    object-fit: cover; /* Crops the image to cover the area, preventing distortion */
    transition: transform 0.7s ease; /* Smooth transition for the zoom effect */
}
        
/* Zoom effect on the image when the parent card is hovered */
.news-card:hover .news-image img {
    transform: scale(1.1); /* Zooms the image in slightly */
}
        
/* Styles for the category label/badge that overlays the image */
.news-category {
    position: absolute; /* Positions it over the image */
    top: 15px; /* Distance from the top of the image */
    left: 15px; /* Distance from the left of the image */
    background: var(--gradient); /* Uses the gradient for the badge background */
    color: white; /* White text */
    padding: 6px 15px; /* Padding inside the badge */
    border-radius: 20px; /* Rounded "pill" shape */
    font-size: 12px; /* Small font size */
    font-weight: 600; /* Bold text */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* Shadow for the badge */
}
        
/* Container for the text content of the news card (below the image) */
.news-content {
    padding: 25px; /* Padding inside the content area */
    flex-grow: 1; /* Makes this section grow to push the link to the bottom, aligning cards nicely */
    display: flex; /* Enables flexbox for the content */
    flex-direction: column; /* Stacks the content vertically (title, excerpt, link) */
}
        
/* Styles for the date text */
.news-date {
    color: var(--secondary-color); /* Muted gray color */
    font-size: 14px; /* Small font size */
    margin-bottom: 12px; /* Space below the date */
    display: block; /* Ensures it's treated as a block element */
}
        
/* Styles for the news article title */
.news-title {
    font-weight: 700; /* Bold title */
    margin-bottom: 15px; /* Space below the title */
    color: var(--dark-color); /* Dark color for the title */
    font-size: 1.25rem; /* Larger font size */
    line-height: 1.4; /* Good line height for readability */
}
        
/* Styles for the short excerpt/description text */
.news-excerpt {
    color: var(--secondary-color); /* Muted gray color */
    margin-bottom: 20px; /* Space below the excerpt */
    line-height: 1.6; /* Good line height for readability */
    flex-grow: 1; /* Makes this element grow, helping to push the link to the bottom */
}
        
/* Styles for the "Read More" link */
.news-link {
    color: var(--primary-color); /* Primary blue color */
    text-decoration: none; /* Removes the default underline */
    font-weight: 600; /* Bold text */
    display: inline-flex; /* Allows use of flexbox on an inline element (to align icon) */
    align-items: center; /* Vertically centers the text and icon */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
    align-self: flex-start; /* Aligns the link to the left within its flex container */
    padding: 8px 0; /* Vertical padding only (left/right is handled by inline-flex) */
}
        
/* Styles for the link on hover */
.news-link:hover {
    color: #3a5bed; /* A slightly lighter blue on hover */
    transform: translateX(5px); /* Moves the link slightly to the right */
}
        
/* Styles for the icon (e.g., an arrow) within the link */
.news-link i {
    margin-left: 8px; /* Space between the text and the icon */
    transition: transform 0.3s ease; /* Smooth transition for the icon's movement */
}
        
/* Moves the icon further on hover when the parent link is hovered */
.news-link:hover i {
    transform: translateX(5px); /* Slides the icon to the right */
}
        
/* Styles for an item in the multimedia grid (image or video) */
.media-item {
    border-radius: 16px; /* Rounded corners */
    overflow: hidden; /* Clips the media to the rounded corners */
    position: relative; /* Positioning context for the overlay and type icon */
    height: 240px; /* Fixed height for the media item */
    cursor: pointer; /* Indicates the item is clickable (e.g., to open a lightbox) */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08); /* Shadow for depth */
    transition: all 0.4s ease; /* Smooth transition for hover effects */
}
        
/* Styles for the media item on hover */
.media-item:hover {
    transform: translateY(-5px); /* Lifts the item up */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12); /* Enhances the shadow on hover */
}
        
/* Styles for images and videos within the media item container */
.media-item img,
.media-item video {
    width: 100%; /* Makes media fill the container width */
    height: 100%; /* Makes media fill the container height */
    object-fit: cover; /* Crops the media to cover the area */
    transition: transform 0.7s ease; /* Smooth transition for the zoom effect */
}
        
/* Zoom effect on the media when the item is hovered */
.media-item:hover img,
.media-item:hover video {
    transform: scale(1.1); /* Zooms the media in slightly */
}
        
/* An overlay that appears on hover, containing information about the media */
.media-overlay {
    position: absolute; /* Positions it over the media */
    bottom: 0; /* Anchors it to the bottom */
    left: 0; /* Anchors it to the left */
    right: 0; /* Anchors it to the right */
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); /* A gradient from transparent to dark at the bottom */
    padding: 25px; /* Padding inside the overlay */
    color: white; /* White text */
    opacity: 0; /* Initially hidden */
    transition: opacity 0.4s ease; /* Smooth fade-in transition */
}
        
/* Makes the overlay visible when the media item is hovered */
.media-item:hover .media-overlay {
    opacity: 1; /* Fully visible */
}
        
/* A badge/icon indicating the type of media (e.g., image, video) */
.media-type {
    position: absolute; /* Positions it over the media */
    top: 15px; /* Distance from the top */
    right: 15px; /* Distance from the right */
    background: rgba(0, 0, 0, 0.7); /* Semi-transparent black background */
    color: white; /* White icon */
    width: 45px; /* Fixed width */
    height: 45px; /* Fixed height, making it a circle */
    border-radius: 50%; /* Perfect circle */
    display: flex; /* Used to center the icon */
    align-items: center; /* Vertically centers the icon */
    justify-content: center; /* Horizontally centers the icon */
    backdrop-filter: blur(4px); /* Applies a blur effect to the background behind it (frosted glass) */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Light border */
}
        
/* Job Listing Styles */
/* Styles for a card component displaying a job listing */
.job-card {
    background: white; /* White background */
    border-radius: 16px; /* Rounded corners */
    padding: 25px; /* Padding inside the card */
    box-shadow: 0 8px 20px rgba(0, 0, 极速4px); /* Shadow for depth (note: '极速4px' seems like a typo, likely meant '0 8px 20px rgba(0,0,0,0.1)') */
    transition: all 0.4s ease; /* Smooth transition for hover effects */
    margin-bottom: 25px; /* Space below each job card */
    border-left: 4px solid var(--primary-color); /* Accent border on the left using primary color */
}
        
/* Styles for the job card on hover */
.job-card:hover {
    transform: translateY(-5px); /* Lifts the card up */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); /* Enhances the shadow on hover */
}
        
/* Container for the top section of the job card (title, company, location vs. job type) */
.job-header {
    display: flex; /* Puts the job info and job type badge side-by-side */
    justify-content: space-between; /* Pushes the job info left and the badge right */
    align-items: flex-start; /* Aligns items to the top */
    margin-bottom: 20px; /* Space below this header section */
}
        
/* Styles for the job title */
.job-title {
    font-weight: 700; /* Bold text */
    color: var(--dark-color); /* Dark color */
    font-size: 1.4rem; /* Large font size */
    margin-bottom: 8px; /* Space below the title */
}
        
/* Styles for the company name */
.job-company {
    color: var(--primary-color); /* Primary blue color */
    font-weight: 600; /* Semi-bold */
    margin-bottom: 5px; /* Space below the company name */
}
        
/* Styles for the job location text */
.job-location {
    color: var(--secondary-color); /* Muted gray color */
    display: flex; /* For aligning an icon with the text */
    align-items: center; /* Vertically centers icon and text */
    gap: 5px; /* Space between icon and text */
}
        
/* Styles for the job type badge (e.g., "Full-time", "Remote") */
.job-type {
    background: rgba(78, 111, 255, 0.1); /* Very light blue background */
    color: var(--primary-color); /* Primary blue text */
    padding: 极速4px 15px; /* Padding (note: '极速4px' is a typo, likely meant '8px') */
    border-radius: 20px; /* Rounded "pill" shape */
    font-size: 14px; /* Small font size */
    font-weight: 600; /* Semi-bold */
}
        
/* Container for additional job details (salary, posted date, etc.) */
.job-details {
    display: flex; /* Arranges detail items in a row */
    gap: 20px; /* Space between detail items */
    margin-bottom: 20px; /* Space below the details */
    flex-wrap: wrap; /* Allows items to wrap to the next line on small screens */
}
        
/* Styles for each individual job detail item (e.g., salary, date) */
.job-detail {
    display: flex; /* For aligning an icon with the text */
    align-items: center; /* Vertically centers icon and text */
    gap: 8px; /* Space between icon and text */
    color: var(--secondary-color); /* Muted gray color */
}
        
/* Styles for the job description text */
.job-description {
    color: var(--secondary-color); /* Muted gray color */
    margin-bottom: 25px; /* Space below the description */
    line-height: 1.6; /* Good line height for readability */
}
        
/* Container for the action buttons (Apply, Save) */
.job-actions {
    display: flex; /* Puts buttons side-by-side */
    gap: 15px; /* Space between the buttons */
}
        
/* Styles for the main "Apply" button */
.apply-btn {
    background: var(--gradient); /* Gradient background */
    color: white; /* White text */
    border: none; /* Removes default border */
    padding: 12px 25px; /* Padding inside the button */
    border-radius: 8px; /* Slightly rounded corners */
    font-weight: 600; /* Semi-bold text */
    cursor: pointer; /* Pointer cursor on hover */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
    display: flex; /* For aligning an icon with the text */
    align-items: center; /* Vertically centers icon and text */
    gap: 8px; /* Space between icon and text */
}
        
/* Styles for the Apply button on hover */
.apply-btn:hover {
    transform: translateY(-2px); /* Lifts the button slightly */
    box-shadow: 0 6px 15px rgba(78, 111, 255, 0.3); /* Adds a blue shadow */
}
        
/* Styles for the secondary "Save" button */
.save-btn {
    background: white; /* White background */
    color: var(--secondary-color); /* Muted gray text */
    border: 1px solid #e9ecef; /* Light gray border */
    padding: 12px 20px; /* Padding inside the button */
    border-radius: 8px; /* Slightly rounded corners */
    font-weight: 600; /* Semi-bold text */
    cursor: pointer; /* Pointer cursor on hover */
    transition: all 极速0.3s ease; /* Smooth transition (note: '极速' is likely a typo) */
    display: flex; /* For aligning an icon with the text */
    align-items: center; /* Vertically centers icon and text */
    gap: 8px; /* Space between icon and text */
}
        
/* Styles for the Save button on hover */
.save-btn:hover {
    background: #f8f9fa; /* Light gray background on hover */
    color: var(--primary-color); /* Changes text color to primary blue */
}
        
/* Job Application Form */
/* Styles for the application form container */
.application-form {
    background: white; /* White background */
    border-radius: 16px; /* Rounded corners */
    padding: 30px; /* Padding inside the form */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06); /* Shadow for depth */
    margin-top: 40px; /* Space above the form */
}
        
/* Styles for the form title */
.form-title {
    font-weight: 700; /* Bold text */
    color: var(--dark-color); /* Dark color */
    font-size: 1.5rem; /* Large font size */
    margin-bottom: 25px; /* Space below the title */
    text-align: center; /* Centers the title */
}
        
/* Styles for a group containing a label and form control */
.form-group {
    margin-bottom: 20px; /* Space below each form group */
}
        
/* Styles for form labels */
.form-label {
    font-weight: 600; /* Semi-bold text */
    margin-bottom: 8px; /* Space below the label */
    color: var(--dark-color); /* Dark color */
}
        
/* Base styles for form input fields, textareas, etc. */
.form-control {
    padding: 15px; /* Padding inside the control */
    border: 2px solid #e9ecef; /* Light gray border */
    border-radius: 8px; /* Slightly rounded corners */
    width: 100%; /* Makes the control fill its container */
    transition: all 0.3s ease; /* Smooth transition for focus state */
}
        
/* Styles for form controls when they are focused */
.form-control:focus {
    outline: none; /* Removes default browser outline */
    border-color: var(--primary-color); /* Changes border color to primary blue */
    box-shadow: 0 0 0 0.25rem rgba(78, 111, 255, 0.25); /* Adds a blue glow effect */
}
        
/* Styles for the form submit button */
.form-submit {
    background: var(--gradient); /* Gradient background */
    color: white; /* White text */
    border: none; /* Removes default border */
    padding: 15px 30px; /* Padding inside the button */
    border-radius: 8px; /* Slightly rounded corners */
    font-weight: 极速600; /* Semi-bold (note: '极速' is likely a typo) */
    cursor: pointer; /* Pointer cursor on hover */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
    width: 100%; /* Makes the button full width */
    margin-top: 10px; /* Space above the button */
}
        
/* Styles for the submit button on hover */
.form-submit:hover {
    transform: translateY(-2px); /* Lifts the button slightly */
    box-shadow: 0 6px 15px rgba(78, 111, 255, 0.3); /* Adds a blue shadow */
}
        
/* Container for the file upload input, styled to look like a button */
.file-upload {
    position: relative; /* Positioning context for the hidden file input */
    overflow: hidden; /* Hides the default file input */
    display: inline-block; /* Allows setting a width */
    width: 100%; /* Full width */
}
        
/* The visible part of the file upload, styled as a dashed area */
.file-upload-btn {
    background: #f8f9fa; /* Light gray background */
    color: var(--secondary-color); /* Muted gray text */
    border: 2px dashed #e9ecef; /* Dashed light gray border */
    padding: 15px; /* Padding */
    border-radius: 8px; /* Slightly rounded corners */
    font-weight: 600; /* Semi-bold text */
    cursor: pointer; /* Pointer cursor */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
    text-align: center; /* Centers the text */
    display: block; /* Makes it a block element */
    width: 100%; /* Full width */
}
        
/* Styles for the file upload area on hover */
.file-upload-btn:hover {
    border-color: var(--primary-color); /* Changes border color to primary blue */
    color: var(--primary-color); /* Changes text color to primary blue */
}
        
/* Hides the default file input element, which is layered over the styled button */
.file-upload input[type=file] {
    position: absolute; /* Takes it out of the normal flow */
    left: 0; /* Positions it over the styled button */
    top: 0; /* Positions it over the styled button */
    opacity: 0; /* Makes it invisible */
    width: 100%; /* Same width as the button */
    height: 100%; /* Same height as the button */
    cursor: pointer; /* Ensures the cursor is a pointer when over the hidden input */
}
        
/* A promotional box for a newsletter subscription */
.subscribe-box {
    background: var(--gradient); /* Gradient background */
    border-radius: 20px; /* Rounded corners */
    padding: 40px; /* Generous padding */
    text-align: center; /* Centers the text and form */
    margin-top: 50px; /* Space above the box */
    color: white; /* White text */
    box-shadow: 0 10px 30px rgba(78, 111, 255, 0.2); /* Blue shadow */
}
        
/* Styles for the heading inside the subscribe box */
.subscribe-box h4 {
    font-size: 1.8rem; /* Large font size */
    margin-bottom: 15px; /* Space below the heading */
}
        
/* Styles for the descriptive text inside the subscribe box */
.subscribe-box p {
    opacity: 0.9; /* Slightly transparent */
    margin-bottom: 25px; /* Space below the text */
    font-size: 1.1rem; /* Slightly larger font size */
}
        
/* Container for the input and button, constraining its width */
.subscribe-box .input-group {
    max-width: 500px; /* Maximum width for the input group */
    margin: 0 auto; /* Centers the input group */
}
        
/* Styles for the email input inside the subscribe box */
.subscribe-box .form-control {
    padding: 15px 20px; /* Padding */
    border: none; /* Removes border */
    border-radius: 50px 0 0 50px; /* Rounds the left side only */
    font-size: 1rem; /* Font size */
}
        
/* Styles for the subscribe button inside the subscribe box */
.subscribe-box .btn {
    border-radius: 极速0 50px 50px 0; /* Rounds the right side only (note: '极速0' is a typo) */
    padding: 15px 25px; /* Padding */
    background: var(--dark-color); /* Dark background */
    border: none; /* No border */
    font-weight: 600; /* Semi-bold */
}
        
/* Styles for the subscribe button on hover */
.subscribe-box .btn:hover {
    background: #222; /* Slightly lighter dark color on hover */
}
        
/* Animation for new items when they are loaded or filtered */
@keyframes slideIn {
    from {
        opacity: 0; /* Start invisible */
        transform: translateY(20px); /* Start 20px lower */
    }
    to {
        opacity: 1; /* End fully visible */
        transform: translateY(0); /* End in normal position */
    }
}
        
/* Applies the slideIn animation to news cards, media items, and job cards */
.news-card, .media-item, .job-card {
    animation: slideIn 0.5s ease forwards; /* Uses the slideIn keyframes, lasts 0.5s, and retains the end state ('forwards') */
}
        
/* Footer */
/* Styles for the main footer element */
footer {
    background-color: var(--dod-dark); /* Dark background color */
    color: white; /* White text color */
    padding: 60px 0 30px; /* Top, horizontal, bottom padding */
}

/* Styles for headings within the footer columns */
.footer-heading {
    color: var(--dod-gold); /* Gold color for headings */
    font-weight: 700; /* Bold text */
    margin-bottom: 25px; /* Space below the heading */
    position: relative; /* Context for the pseudo-element */
    padding-bottom: 10px; /* Space for the underline */
}

/* Creates a decorative underline under the footer heading */
.footer-heading::after {
    content: ''; /* Required for pseudo-elements */
    position: absolute; /* Positions it relative to the heading */
    bottom: 0; /* Anchors it to the bottom of the heading */
    left: 0; /* Aligns it to the left */
    width: 40px; /* Length of the underline */
    height: 2px; /* Thickness of the underline */
    background-color: var(--dod-gold); /* Gold color for the underline */
}

/* Styles for the list of links in the footer */
.footer-links {
    list-style: none; /* Removes default bullet points */
    padding: 0; /* Removes default padding */
}

/* Styles for each item in the footer links list */
.footer-links li {
    margin-bottom: 12px; /* Space between list items */
}

/* Styles for the links themselves in the footer */
.footer-links a {
    color: rgba(255, 255, 255, 0.8); /* Semi-transparent white */
    text-decoration: none; /* Removes underline */
    transition: all 0.3s; /* Smooth transition for hover effects */
}

/* Styles for footer links on hover */
.footer-links a:hover {
    color: var(--dod-gold); /* Changes color to gold on hover */
    padding-left: 5px; /* Indents the link slightly */
}

/* Styles for social media icon links */
.social-icons a {
    display: inline-block; /* Allows setting width/height */
    width: 38px; /* Fixed width */
    height: 38px; /* Fixed height, making it a circle */
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white background */
    border-radius: 50%; /* Perfect circle */
    text-align: center; /* Centers the icon horizontally */
    line-height: 38px; /* Centers the icon vertically (should match height) */
    color: white; /* White icon */
    margin-right: 10px; /* Space between icons */
    transition: all 0.3s; /* Smooth transition for hover effects */
}

/* Styles for social icons on hover */
.social-icons a:hover {
    background-color: var(--dod-gold); /* Fills background with gold on hover */
    transform: translateY(-3px); /* Lifts the icon up slightly */
}

/* Container for the newsletter signup form in the footer */
.newsletter-form {
    display: flex; /* Puts the input and button side-by-side */
    margin-top: 20px; /* Space above the form */
}

/* Styles for the email input in the footer newsletter form */
.newsletter-form input {
    flex: 1; /* The input will grow to fill available space */
    padding: 12px 15px; /* Padding */
    border: none; /* No border */
    border-radius: 4px 0 0 4px; /* Rounds the left side only */
    outline: none; /* Removes default focus outline (note: better practice might be to style :focus) */
}

/* Styles for the subscribe button in the footer newsletter form */
.newsletter-form button {
    background: var(--dod-gold); /* Gold background */
    color: white; /* White text */
    border: none; /* No border */
    padding: 0 20px; /* Horizontal padding */
    border-radius: 0 4px 4px 0; /* Rounds the right side only */
    cursor: pointer; /* Pointer cursor */
    transition: all 0.3s; /* Smooth transition for hover effect */
}

/* Styles for the subscribe button on hover */
.newsletter-form button:hover {
    background: #9a7124; /* A darker shade of gold on hover */
}

/* Styles for the copyright text at the very bottom of the footer */
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Light top border */
    padding-top: 20px; /* Space above the text */
    margin-top: 40px; /* Space above the border */
    color: rgba(255, 255, 255, 0.6); /* Muted white text color */
    font-size: 0.9rem; /* Slightly smaller font size */
}

/* Styles for the "Back to Top" button */
.back-to-top {
    position: fixed; /* Fixes it to the viewport */
    bottom: 20px; /* Distance from the bottom of the viewport */
    right: 20px; /* Distance from the right of the viewport */
    width: 40px; /* Fixed width */
    height: 40px; /* Fixed height, making it a circle */
    background: var(--dod-blue); /* Blue background */
    color: white; /* White icon */
    border-radius: 50%; /* Perfect circle */
    display: flex; /* Used to center the icon */
    align-items: center; /* Vertically centers the icon */
    justify-content: center; /* Horizontally centers the icon */
    text-decoration: none; /* Removes underline from link */
    opacity: 0; /* Initially hidden */
    transition: all 0.3s; /* Smooth transition for showing/hiding */
    z-index: 1000; /* High z-index to ensure it's on top of other elements */
}

/* Class to show the back-to-top button (likely added via JavaScript when scrolling) */
.back-to-top.show {
    opacity: 1; /* Makes the button visible */
}

/* Styles for the back-to-top button on hover */
.back-to-top:hover {
    background: var(--dod-gold); /* Changes background to gold on hover */
}
        
/* Responsive adjustments */
/* Styles applied for viewports 992px wide and smaller */
@media (max-width: 992px) {
    .menu-header h2 {
        font-size: 2rem; /* Slightly smaller header font */
    }
            
    .menu-tab {
        padding: 15px 20px; /* Slightly less padding on tabs */
    }
            
    .content-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); /* Smaller minimum column width */
        gap: 25px; /* Smaller gap between grid items */
    }
            
    .job-header {
        flex-direction: column; /* Stacks job title and job type vertically */
        gap: 15px; /* Adds space between the stacked items */
    }
}
        
/* Styles applied for viewports 768px wide and smaller */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.3rem; /* Smaller brand font size */
    }
            
    .logo-img {
        height: 35px; /* Smaller logo */
    }
            
    .menu-header {
        padding: 25px 15px; /* Less padding in the header */
    }
            
    .menu-header h2 {
        font-size: 1.8rem; /* Smaller header font */
    }
            
    .menu-content {
        padding: 25px; /* Less padding in the content area */
    }
            
    .menu-tab {
        padding: 12px 15px; /* Less padding on tabs */
        font-size: 14px; /* Smaller font size on tabs */
    }
            
    .menu-tab i {
        font-size: 1rem; /* Smaller icons in tabs */
        margin-right: 5px; /* Less space between icon and text */
    }
            
    .content-grid {
        grid-template-columns: 1fr; /* Single column layout for grid items */
    }
            
    .job-details {
        flex-direction: column; /* Stacks job detail items vertically */
        gap: 10px; /* Space between stacked items */
    }
            
    .job-actions {
        flex-direction: column; /* Stacks buttons vertically */
    }
            
    .subscribe-box {
        padding: 30px 20px; /* Less padding in the subscribe box */
    }
            
    footer {
        padding: 40px 0 20px; /* Less padding in the footer */
    }
            
    .footer-heading {
        margin-top: 30px; /* Adds space above footer headings (for stacked columns) */
    }
            
    .footer-heading:first-child {
        margin-top: 0; /* Removes top margin from the first heading */
    }
}
        
/* Styles applied for viewports 576px wide and smaller */
@media (max-width: 576px) {
    .menu-header h2 {
        font-size: 1.5rem; /* Even smaller header font */
    }
            
    .menu-header p {
        font-size: 1rem; /* Smaller paragraph font */
    }
            
    .filter-options {
        justify-content: center; /* Centers the filter buttons */
    }
            
    .search-box input {
        padding: 15px 20px; /* Less padding in the search input */
    }
            
    .search-box button {
        width: 45px; /* Smaller search button */
        height: 45px; /* Smaller search button */
    }
            
    .news-image {
        height: 180px; /* Shorter news image */
    }
            
    .media-item {
        height: 200px; /* Shorter media item */
    }
            
    .back-to-top {
        bottom: 20px; /* Position from bottom */
        right: 20px; /* Position from right */
        width: 45px; /* Size of the button */
        height: 45px; /* Size of the button */
    }
}
/* the above css code is for news and multimedia page */

         /* the following css code is for service page */
        /* ===============================
       Root Variables (Reusable Colors)
       =============================== */
    :root {
        --dod-blue: #0d2f51;   /* Primary dark blue */
        --dod-gold: #b6862a;   /* Accent gold */
        --dod-light: #f2f2f2;  /* Light gray background */
        --dod-dark: #1a1a1a;   /* Dark footer background */
    }
    
    /* ===============================
       Base Styles
       =============================== */
    body {
        /* Font is set by fonts.css based on language */
        color: #333;                             /* Default text color */
        line-height: 1.6;                        /* Better readability */
    }
    
    /* ===============================
       Header and Navigation Bar
       =============================== */
    .navbar {
        background-color: var(--dod-blue);       /* Blue navbar background */
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);  /* Shadow under navbar */
        padding: 0.5rem 0;                       /* Vertical spacing */
    }
    
    .navbar-brand {
        display: flex;                           /* Align logo + text */
        align-items: center;
    }
    
    .navbar-brand h3 {
        color: white;                            /* Logo text color */
        font-weight: 700;                        /* Bold */
        margin: 0;
        font-size: 1.5rem;                       /* Slightly large */
    }
    
    .navbar-nav .nav-link {
        color: rgba(255, 255, 255, 0.85);        /* Slightly faded white */
        font-weight: 500;
        padding: 0.5rem 1rem;                    /* Spacing between links */
        transition: all 0.3s;                    /* Smooth hover */
        font-size: 1rem;
    }
    
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        color: white;                            /* Bright white */
        background-color: rgba(255, 255, 255, 0.1); /* Highlight background */
        border-radius: 4px;                      /* Rounded hover effect */
    }
    
    .navbar-toggler {
        border-color: rgba(255, 255, 255, 0.5);  /* Mobile menu button border */
    }
    
    .navbar-toggler-icon {
        /* Custom hamburger icon (white lines) */
        background-image: url("data:image/svg+xml,...");
    }
    
    /* ===============================
       Logo & Branding
       =============================== */
    .logo-img {
        height: 50px;                            /* Logo height */
        width: auto;                             /* Keep proportions */
        transition: all 0.3s ease;               /* Smooth resize */
    }
    
    .site-name {
        color: white;
        font-weight: 600;
        margin-left: 10px;                       /* Space next to logo */
        font-size: 1.25rem;
    }
    
    /* ===============================
       Section Titles
       =============================== */
    .section-padding {
        padding: 80px 0;                         /* Top & bottom spacing */
    }
    
    .section-title {
        position: relative;
        margin-bottom: 40px;
        padding-bottom: 15px;
        font-weight: 700;
        color: var(--dod-blue);
        text-align: center;
    }
    
    .section-title::after {
        content: '';                             /* Decorative underline */
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background-color: var(--dod-gold);
    }
    
    /* ===============================
       Page Header (Hero Section)
       =============================== */
    .page-header {
        background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                    url('https://placehold.co/1920x600') center/cover no-repeat;
        padding: 120px 0 80px;                   /* Spacing top/bottom */
        color: white;
        text-align: center;
        border-bottom: 4px solid var(--dod-gold); /* Gold border */
    }
    
   /* ===============================
   Service Cards with Animation
   =============================== */
.service-card {
    padding: 40px 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    height: 100%;
    border-top: 4px solid var(--dod-blue);  /* Blue highlight */
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    
    /* Initial hidden state */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.service-card.animated {
    opacity: 1;             /* Fade in */
    transform: translateY(0); /* Slide into position */
}

.service-card:hover {
    transform: translateY(-10px);            /* Lift on hover */
    box-shadow: 0 15px 30px rgba(0,0,0,0.1); /* Stronger shadow */
}

/* Service icons */
.service-icon {
    font-size: 3rem;
    color: var(--dod-blue);
    margin-bottom: 20px;
}

/* Optional: Staggered delay effect */
.service-card:nth-child(1) { transition-delay: 0.1s; }
.service-card:nth-child(2) { transition-delay: 0.2s; }
.service-card:nth-child(3) { transition-delay: 0.3s; }
.service-card:nth-child(4) { transition-delay: 0.4s; }
.service-card:nth-child(5) { transition-delay: 0.5s; }
.service-card:nth-child(6) { transition-delay: 0.6s; }

    
  /* ===============================
   Process Steps (Horizontal Timeline)
   =============================== */
.process-step {
    text-align: center;
    padding: 30px;
    position: relative;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    height: 100%;
    border-top: 4px solid var(--dod-blue);

    /* Start hidden */
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Animate into view */
.process-step.animated {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Step number (circle) */
.step-number {
    width: 60px;
    height: 60px;
    background: var(--dod-blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: bold;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.process-step:hover .step-number {
    transform: scale(1.1);
}

/* Process icons */
.process-icon {
    font-size: 2.5rem;
    color: var(--dod-blue);
    margin-bottom: 15px;
}

/* Arrow connector */
.process-connector {
    position: absolute;
    top: 50%;
    right: -25px;
    font-size: 1.5rem;
    color: var(--dod-blue);
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Animate connector after card */
.process-step.animated .process-connector {
    opacity: 1;
    transform: translateY(-50%) translateX(10px);
}

/* Remove arrow on last step */
.col-lg-3:last-child .process-connector {
    display: none !important;
}

/* Staggered reveal effect */
.process-step:nth-child(1) { transition-delay: 0.2s; }
.process-step:nth-child(2) { transition-delay: 0.5s; }
.process-step:nth-child(3) { transition-delay: 0.8s; }
.process-step:nth-child(4) { transition-delay: 1.1s; }

/* Tech tags */
.tech-tags {
    margin-top: 15px;
}

.tech-tag {
    display: inline-block;
    background: #f1f5f9;
    color: #333;
    font-size: 0.85rem;
    padding: 4px 10px;
    border-radius: 20px;
    margin: 3px;
    transition: background 0.3s ease;
}

.tech-tag:hover {
    background: var(--dod-blue);
    color: #fff;
}

    
    /* ===============================
       Feature Boxes
       =============================== */
    .feature-box {
        padding: 30px;
        background-color: white;
        border-radius: 8px;
        margin-bottom: 30px;
        transition: all 0.3s ease;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        border-top: 4px solid var(--dod-blue);
        opacity: 0;
        transform: translateY(20px);
    }
    
    .feature-box.animated {
        opacity: 1;
        transform: translateY(0);
    }
    
    .feature-box:hover {
        background-color: var(--dod-blue);
        color: white;
    }
    
    .feature-box:hover h4,
    .feature-box:hover .feature-icon {
        color: white;                            /* Invert on hover */
    }
    
    .feature-icon {
        font-size: 2.5rem;
        color: var(--dod-blue);
        margin-bottom: 20px;
    }
    
    /* ===============================
       Testimonials
       =============================== */
    .testimonial-card {
        padding: 30px;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        margin-bottom: 30px;
        background: white;
        border-top: 4px solid var(--dod-blue);
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.5s ease, transform 0.5s ease;
    }
    
    .testimonial-card.animated {
        opacity: 1;
        transform: translateY(0);
    }
    
    .client-logo {
        height: 80px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 15px;
        margin-bottom: 30px;
    }
    
    .client-logo img {
        max-height: 100%;
        max-width: 100%;
        filter: grayscale(100%);                 /* Black & white */
        opacity: 0.7;
        transition: all 0.3s ease;
    }
    
    .client-logo:hover img {
        filter: grayscale(0);                    /* Show color on hover */
        opacity: 1;
    }
    
    /* ===============================
       Call-to-Action Section
       =============================== */
    .cta-section {
        background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), 
                    url('https://placehold.co/1920x600') center/cover no-repeat;
        padding: 100px 0;
        color: white;
        text-align: center;
        border-top: 4px solid var(--dod-gold);
    }
    
    /* ===============================
       FAQ Section
       =============================== */
    .faq-item {
        margin-bottom: 20px;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        background: white;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.5s ease, transform 0.5s ease;
    }
    
    .faq-item.animated {
        opacity: 1;
        transform: translateY(0);
    }
    
    .faq-question {
        padding: 20px;
        background-color: var(--dod-light);
        font-weight: 600;
        cursor: pointer;
        position: relative;
        color: var(--dod-blue);
    }
    
    .faq-answer {
        padding: 0 20px;
        max-height: 0;                           /* Hidden initially */
        overflow: hidden;
        transition: all 0.3s ease;
    }
    
    .faq-item.active .faq-answer {
        padding: 20px;
        max-height: 500px;                       /* Expand when active */
    }
    
    /* ===============================
       Buttons
       =============================== */
    .btn-primary {
        background-color: var(--dod-blue);
        border-color: var(--dod-blue);
        padding: 12px 25px;
        font-weight: 600;
        border-radius: 4px;
        transition: all 0.3s;
    }
    
    .btn-primary:hover {
        background-color: #0a243f;               /* Darker blue */
        border-color: #0a243f;
        transform: translateY(-2px);             /* Lift on hover */
    }
    
    .btn-outline-primary {
        border: 2px solid var(--dod-blue);
        color: var(--dod-blue);
        border-radius: 30px;                     /* Pill shape */
        padding: 10px 25px;
        font-weight: 600;
        transition: all 0.3s ease;
    }
    
    .btn-outline-primary:hover {
        background: var(--dod-blue);
        color: white;
        transform: translateY(-2px);
    }
    
    .btn-secondary {
        background-color: var(--dod-gold);
        border-color: var(--dod-gold);
        padding: 12px 25px;
        font-weight: 600;
        border-radius: 4px;
        transition: all 0.3s;
    }
    
    .btn-secondary:hover {
        background-color: #9a7124;               /* Darker gold */
        border-color: #9a7124;
        transform: translateY(-2px);
    }
    
    /* ===============================
       Footer Section
       =============================== */
    footer {
        background-color: var(--dod-dark);
        color: white;
        padding: 60px 0 30px;
    }
    
    .footer-heading {
        color: var(--dod-gold);
        font-weight: 700;
        margin-bottom: 25px;
        position: relative;
        padding-bottom: 10px;
    }
    
    .footer-heading::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 40px;
        height: 2px;
        background-color: var(--dod-gold);
    }
    
    .footer-links {
        list-style: none;
        padding: 0;
    }
    
    .footer-links li {
        margin-bottom: 12px;
    }
    
    .footer-links a {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        transition: all 0.3s;
    }
    
    .footer-links a:hover {
        color: var(--dod-gold);
        padding-left: 5px;
    }
    
    .social-icons a {
        display: inline-block;
        width: 38px;
        height: 38px;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        text-align: center;
        line-height: 38px;
        color: white;
        margin-right: 10px;
        transition: all 0.3s;
    }
    
    .social-icons a:hover {
        background-color: var(--dod-gold);
        transform: translateY(-3px);
    }
    
    .newsletter-form {
        display: flex;
        margin-top: 20px;
    }
    
    .newsletter-form input {
        flex: 1;
        padding: 12px 15px;
        border: none;
        border-radius: 4px 0 0 4px;
        outline: none;
    }
    
    .newsletter-form button {
        background: var(--dod-gold);
        color: white;
        border: none;
        padding: 0 20px;
        border-radius: 0 4px 4px 0;
        cursor: pointer;
        transition: all 0.3s;
    }
    
    .newsletter-form button:hover {
        background: #9a7124;
    }
    
    .copyright {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 20px;
        margin-top: 40px;
        color: rgba(255, 255, 255, 0.6);
        font-size: 0.9rem;
    }
    
    /* Back-to-top Button */
    .back-to-top {
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        background: var(--dod-blue);
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        opacity: 0;                              /* Hidden by default */
        transition: all 0.3s;
        z-index: 1000;
    }
    
    .back-to-top.show {
        opacity: 1;                              /* Shown when scrolled */
    }
    
    .back-to-top:hover {
        background: var(--dod-gold);
    }
    
    /* ===============================
       Extra Elements (Badges, Tags, Icons)
       =============================== */
    .it-directorate-badge {
        display: inline-block;
        background: var(--dod-blue);
        color: white;
        padding: 5px 15px;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: 600;
        margin-bottom: 15px;
    }
    
    .tech-tags, .tech-badges {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
        margin-top: 20px;
    }
    
    .tech-tag, .tech-badge {
        background: rgba(13, 47, 81, 0.1);
        color: var(--dod-blue);
        padding: 4px 10px;
        border-radius: 15px;
        font-size: 0.75rem;
        font-weight: 500;
    }
    
    .service-badge {
        position: absolute;
        top: 20px;
        right: 20px;
        background: var(--dod-gold);
        color: white;
        font-size: 12px;
        font-weight: 700;
        padding: 5px 12px;
        border-radius: 20px;
        z-index: 2;
    }
    
    .process-connector {
        position: absolute;
        top: 30px;
        right: -15px;
        color: var(--dod-blue);
        font-size: 1.5rem;
        opacity: 0.5;
        z-index: 2;
    }
    
    .quote-icon {
        font-size: 2.5rem;
        color: var(--dod-blue);
        margin-bottom: 20px;
        opacity: 0.2;
        transition: all 0.3s ease;
    }
    
    .rating {
        color: #ffc107;                          /* Star yellow */
        margin-bottom: 15px;
    }
    
    .client-img {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        object-fit: cover;
        margin-right: 15px;
        border: 3px solid var(--dod-blue);
        padding: 3px;
    }
    
    .client-company {
        display: inline-block;
        background: rgba(13, 47, 81, 0.1);
        color: var(--dod-blue);
        padding: 3px 10px;
        border-radius: 15px;
        font-size: 0.8rem;
        margin-top: 5px;
    }
    
    /* ===============================
       Animations (Triggered by JS)
       =============================== */
    .animate-on-scroll {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .animate-on-scroll.animated {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* ===============================
       Responsive Adjustments (Mobile)
       =============================== */
    @media (max-width: 768px) {
        .newsletter-form {
            flex-direction: column;              /* Stack vertically */
        }
        
        .newsletter-form input {
            border-radius: 4px;
            margin-bottom: 10px;
        }
        
        .newsletter-form button {
            border-radius: 4px;
        }
        
        .process-connector {
            display: none;                       /* Hide arrows on small screens */
        }
        
        .navbar-nav .nav-link {
            text-align: center;
            padding: 0.8rem 1rem;
        }
        
        .logo-img {
            height: 40px;                        /* Smaller logo */
        }
        
        .site-name {
            font-size: 1.1rem;
        }
    }
    /* the above css code is for service page */

 /* for news and multimedia submenu  */
/* Only target dropdown menus inside your navbar */
.navbar .dropdown-menu {
    background-color: var(--dod-blue) !important; /* dark blue */
    border: none !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
    z-index: 1050; /* ensures it appears above page content */
}

/* Submenu links */
.navbar .dropdown-menu .dropdown-item {
    color: #ffffff !important;
    transition: all 0.3s;
}

/* Hover effect */
.navbar .dropdown-menu .dropdown-item:hover {
    background-color: var(--dod-gold) !important;
    color: #fff !important;
}

/* Active submenu item */
.navbar .dropdown-menu .dropdown-item.active {
    background-color: #0a243f !important;
    color: #fff !important;
}

/* for news and multimedia submenu  */


/* Center dropdown under the parent menu */
.dropdown-menu-center {
    left: 50% !important;
    transform: translateX(-50%) !important;
}

/* Open dropdown on hover */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

/* for services submenu  */
    
/* ===== Language dropdown submenu ===== */
.language-switcher .dropdown-menu {
    background-color: var(--dod-blue) !important; /* dark blue */
    border: none !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
    z-index: 1050;
}

.language-switcher .dropdown-menu .dropdown-item {
    color: #ffffff !important;
    transition: all 0.3s;
    cursor: pointer;
}

.language-switcher .dropdown-menu .dropdown-item:hover {
    background-color: var(--dod-gold) !important;
    color: #0d2f51 !important;
}

.language-switcher .dropdown-menu .dropdown-item.active {
    background-color: #0a243f !important;
    color: #fff !important;
}

.language-switcher .dropdown-menu .dropdown-item.active:hover {
    background-color: var(--dod-gold) !important;
    color: #0d2f51 !important;
}

[dir="rtl"] .language-switcher .dropdown-item i {
    margin-right: 0;
    margin-left: 0.5rem;
}

/* ===== Global RTL navbar fixes (apply across all pages) ===== */
[dir="rtl"] .navbar-nav {
    margin-left: 0 !important;
    margin-right: auto !important;
}

[dir="rtl"] .navbar-nav .nav-item {
    margin-left: 0;
    margin-right: 0.5rem;
}

[dir="rtl"] .navbar-nav .nav-link {
    text-align: right;
}

[dir="rtl"] .navbar-nav .nav-link i {
    margin-right: 0;
    margin-left: 0.5rem;
}

[dir="rtl"] .navbar-collapse {
    justify-content: flex-end !important;
    text-align: right !important;
}

[dir="rtl"] .navbar-toggler {
    margin-left: 0 !important;
    margin-right: auto !important;
}

[dir="rtl"] .dropdown-menu {
    right: 0;
    left: auto;
    text-align: right;
}

[dir="rtl"] .dropdown-item {
    text-align: right;
}

[dir="rtl"] .dropdown-item i {
    margin-right: 0;
    margin-left: 0.5rem;
}

/* ===== Global Color Override: Change all light blue (info) to theme color #0d2f51 ===== */

/* Info buttons - change from light blue to dark blue */
.btn-info {
    background-color: #0d2f51 !important;
    border-color: #0d2f51 !important;
    color: white !important;
}

.btn-info:hover,
.btn-info:focus,
.btn-info:active {
    background-color: #0a243f !important;
    border-color: #0a243f !important;
    color: white !important;
}

.btn-outline-info {
    color: #0d2f51 !important;
    border-color: #0d2f51 !important;
}

.btn-outline-info:hover,
.btn-outline-info:focus,
.btn-outline-info:active {
    background-color: #0d2f51 !important;
    border-color: #0d2f51 !important;
    color: white !important;
}

/* Alert info boxes */
.alert-info {
    background-color: rgba(13, 47, 81, 0.1) !important;
    border-color: #0d2f51 !important;
    color: #0d2f51 !important;
}

.alert-info .alert-link {
    color: #0a243f !important;
}

/* Badge info */
.badge.bg-info {
    background-color: #0d2f51 !important;
}

/* Text info color */
.text-info {
    color: #0d2f51 !important;
}

/* Border info color */
.border-info {
    border-color: #0d2f51 !important;
}

/* Background info */
.bg-info {
    background-color: #0d2f51 !important;
}

/* Link colors with info class */
a.text-info {
    color: #0d2f51 !important;
}

a.text-info:hover {
    color: #0a243f !important;
}

/* List group items with info */
.list-group-item-info {
    background-color: rgba(13, 47, 81, 0.1) !important;
    color: #0d2f51 !important;
}

/* Table rows with info */
.table-info {
    background-color: rgba(13, 47, 81, 0.1) !important;
    color: #0d2f51 !important;
}

/* Progress bars with info */
.progress-bar.bg-info {
    background-color: #0d2f51 !important;
}

/* Spinners with info color */
.spinner-border.text-info {
    color: #0d2f51 !important;
}

/* ===== Global Modal Header Color Override ===== */
/* All modal headers with bg-primary should use #0d2f51 */
.modal-header.bg-primary {
    background-color: #0d2f51 !important;
    border-bottom: 3px solid #0a243f !important;
}

/* All modals with bg-info */
.modal-header.bg-info {
    background-color: #0d2f51 !important;
    border-bottom: 3px solid #0a243f !important;
}

/* ===== Global Mobile & iPad Responsive Fixes ===== */

/* Ensure navbar toggler is visible on mobile/tablet only */
/* Hide toggle button on desktop/PC screens (992px and above) */
@media (min-width: 992px) {
    .navbar-toggler {
        display: none !important;
        visibility: hidden !important;
    }
}

/* Show toggle button on mobile/tablet */
.navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.9) !important;
    border-radius: 4px !important;
    padding: 0.4rem 0.6rem !important;
    background-color: transparent !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Mobile Navigation (below 992px) */
@media (max-width: 991.98px) {
    /* Navbar collapse menu */
    .navbar-collapse {
        background-color: rgba(13, 47, 81, 0.98) !important;
        margin-top: 1rem !important;
        padding: 1rem !important;
        border-radius: 8px !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
    }
    
    /* Nav items stack vertically */
    .navbar-nav {
        flex-direction: column !important;
        width: 100% !important;
    }
    
    .navbar-nav .nav-item {
        width: 100% !important;
        margin: 0.25rem 0 !important;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
        border-radius: 4px !important;
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
    }
    
    .navbar-nav .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.1) !important;
    }
    
    /* Dropdowns become full width */
    .navbar-nav .dropdown-menu {
        position: static !important;
        float: none !important;
        width: 100% !important;
        margin: 0.5rem 0 0 0 !important;
        background-color: rgba(10, 36, 63, 0.8) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
    
    .navbar-nav .dropdown-item {
        padding: 0.75rem 1.5rem !important;
        color: rgba(255, 255, 255, 0.9) !important;
    }
    
    /* Container padding */
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    /* Hero section adjustments */
    .hero-title {
        font-size: 2rem !important;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
    }
    
    /* Section padding */
    .section-padding {
        padding: 3rem 0 !important;
    }
    
    /* Cards and grids */
    .row > [class*="col-"] {
        margin-bottom: 1.5rem;
    }
}

/* iPad specific (768px - 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.1rem !important;
    }
    
    .section-padding {
        padding: 4rem 0 !important;
    }
}

/* Small mobile devices (below 576px) */
@media (max-width: 575.98px) {
    .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    
    .hero-title {
        font-size: 1.75rem !important;
    }
    
    .hero-subtitle {
        font-size: 0.9rem !important;
    }
    
    .section-padding {
        padding: 2.5rem 0 !important;
    }
    
    .section-title {
        font-size: 1.75rem !important;
    }
    
    /* Buttons */
    .btn {
        padding: 0.5rem 1rem !important;
        font-size: 0.9rem !important;
    }
    
    /* Cards */
    .card {
        margin-bottom: 1rem !important;
    }
    
    /* Tables */
    .table-responsive {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Images */
    img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* Forms */
    .form-control {
        font-size: 16px !important; /* Prevents zoom on iOS */
    }
}

/* Touch device improvements */
@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets */
    .btn, .nav-link, .dropdown-item {
        min-height: 44px !important;
        display: flex !important;
        align-items: center !important;
    }
    
    /* Better spacing for touch */
    .navbar-nav .nav-item {
        margin: 0.5rem 0 !important;
    }
}

/* Landscape mobile orientation */
@media (max-width: 991.98px) and (orientation: landscape) {
    .hero-section {
        height: auto !important;
        min-height: 70vh !important;
    }
    
    .hero-title {
        font-size: 2rem !important;
    }
}