/* CSS Variables for Color Theme */
:root {
    --primary-blue: #0B2F4A;
    --primary-white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #646b72;
    --text-dark: #16191b;
    --hover-blue: #0a2538;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    max-width: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--primary-white);
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* Links */
a {
    text-decoration: none;
    color: var(--primary-blue);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--hover-blue);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--hover-blue);
    border-color: var(--hover-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(11, 47, 74, 0.3);
}

.btn-outline-primary {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--primary-white);
}

/* Sections */
section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

/* Updated Section Title Separator */
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-blue);
    margin: 15px auto;
    transition: width 0.3s ease;
}

.section-title:hover::after {
    width: 100px;
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    position: relative;
    top: 0;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(11, 47, 74, 0.15);
}

.card-title {
    color: var(--primary-blue);
    font-weight: 600;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #0B2F4A 0%, #0a2538 100%);
    color: var(--primary-white);
    padding: 100px 0;
    overflow: hidden;
}

/* New Hero Style for Updated Pages */
.hero-updated {
    color: var(--primary-white) !important;
}

.hero-updated h1,
.hero-updated h2,
.hero-updated h3,
.hero-updated p,
.hero-updated .lead {
    color: var(--primary-white) !important;
}

.hero-banner-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    opacity: 0.3;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-updated .hero-banner-img {
    height: 100%;
    opacity: 0.4;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Classic Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.5s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal.fade-left {
    transform: translateX(-50px);
}

.reveal.fade-right {
    transform: translateX(50px);
}

.reveal.active.fade-left,
.reveal.active.fade-right {
    transform: translate(0);
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.delay-100 {
    transition-delay: 0.2s;
}

.delay-200 {
    transition-delay: 0.4s;
}

.delay-300 {
    transition-delay: 0.6s;
}

.delay-400 {
    transition-delay: 0.8s;
}

/* Service Icons */
.service-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

/* Leadership Team */
.team-member {
    text-align: center;
    margin-bottom: 30px;
}

.team-member img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 4px solid var(--primary-blue);
}

.team-member h4 {
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.team-member p {
    color: var(--dark-gray);
    font-style: italic;
}

/* Forms */
.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(11, 47, 74, 0.25);
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero-section {
        padding: 60px 0;
    }

    section {
        padding: 40px 0;
    }
}


/* ______custom______ */

.home-tick {
    transform: translateY(12px);
}

/* Top Banner */
.top-banner {
    background-color: var(--primary-blue);
    color: var(--primary-white);
    font-size: 0.9rem;
    padding: 8px 0;
    position: sticky;
    top: 0;
    z-index: 1040;
}

.navbar.sticky-top {
    top: 39px;
    /* Adjust based on banner height */
    z-index: 1030;
    margin: 0;
}

.top-banner a {
    color: var(--primary-white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.top-banner a:hover {
    opacity: 0.8;
    color: var(--primary-white);
}



/* Ensure ResearchGraph fits if needed, though mostly text replacement */