/* Hero Section Styling */
.hero-about {
    position: relative;
    height: 70vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    filter: brightness(0.8) contrast(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3)); /* Dark gradient overlay */
    z-index: 1; /* Above video, below content */
}

.hero-content {
    position: relative;
    z-index: 2; /* Ensures content is above overlay */
    padding-top: 10vh;
    
}

.modern-heading {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 3rem;
    background: linear-gradient(135deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.lead {
    font-size: 1.25rem;
    color: #f0eeee;
    opacity: 0.95;
    font-style: italic;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    margin: 0 auto;
}
/* Modern Scrollbar and Smooth Scroll */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #1E3A8A, #2563EB);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #2563EB, #1E3A8A);
}

/* Global Transitions */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* General Styling */
body {
    font-family: Arial, sans-serif;
    color: #333333;
}

h2, h3 {
    font-family: 'Montserrat', sans-serif;
    color: #1E3A8A;
    margin-bottom: 20px;
}

p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Darker Light Grey Background for Sections */
.bg-light {
    background-color: #f3f1f1 !important; /* Darker light grey */
}

/* Card Styling (Professional Look, matching Our Services) */
.service-card {
    background: #FFFFFF; /* Clean white background */
    box-shadow: 0 5px 15px rgba(30, 58, 138, 0.2); /* Subtle blue shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 18px; /* Slightly rounded corners */

}

.shadow-sm {
    box-shadow: 0 5px 15px rgba(30, 58, 138, 0.2); /* Subtle blue shadow */
}



.service-card:hover {
    transform: translateY(-10px); /* Subtle lift */
    box-shadow: 0 10px 20px rgba(30, 58, 138, 0.3); /* Slightly stronger shadow */
}

/* Value Image Styling */
.value-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    filter: brightness(0.95) contrast(1.05);
}

.service-card:hover .value-img {
    transform: scale(1.05);
}

.card-body {
    padding: 1.5rem;
    text-align: center; /* Ensure text is centered like Our Services */
}

.card-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555555;
}

/* Maintain modern heading styles within cards */
.modern-subheading {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.75rem;
    background: linear-gradient(135deg, #2563EB, #1E3A8A);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 12px;
}

.modern-subheading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(135deg, #2563EB, #1E3A8A);
    border-radius: 2px;
}

/* Ensure bg-grey class matches your light grey background */
.bg-grey {
    background-color: #f5f7f9; /* Light grey background for consistency */
}

/* Team Images */
.rounded-circle {
    border: 2px solid #1E3A8A; /* Dark blue border for team photos */
}

/* Button Styling */
.btn-dark-blue {
    background: linear-gradient(135deg, #1E3A8A, #2563EB);
    color: #FFFFFF;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

.btn-dark-blue:hover {
    background: linear-gradient(135deg, #2563EB, #1E3A8A);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
    color: #FFFFFF;
}

/* Pulsating Animation Keyframes */
@keyframes pulse {
    0% {
        transform: scale(1); /* Normal size */
    }
    50% {
        transform: scale(1.1); /* Slightly larger */
    }
    100% {
        transform: scale(1); /* Back to normal */
    }
}

/* Navbar Styling */
.navbar {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 0;
    margin: 0;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-link {
    position: relative;
    color: #FFFFFF !important;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 0.5rem 1.2rem;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #1E3A8A !important; /* Dark blue on hover */
    font-size: 1.2rem; /* Bigger text (19.2px) on hover */
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #1E3A8A; /* Dark blue underline */
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    font-weight: 600; /* Bold for active link */
    color: #FFFFFF !important;
}

/* Footer Styling */
footer {
    background: linear-gradient(180deg, #000000, #111827);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

footer a {
    color: #FFFFFF;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

footer a:hover {
    color: #60A5FA;
    transform: translateY(-2px);
}

/* Footer Title Styling */
.footer-title {
    color: #FFFFFF;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Social Links Styling */
.social-links a {
    font-size: 1.5rem; /* Larger icons */
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #1E3A8A; /* Dark blue on hover */
}

/* Quick Links Box Styling */
.quick-links-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.2rem;
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
}

.quick-links-box li {
    margin-bottom: 12px;
    text-align: center;
}

.quick-links-box a {
    transition: all 0.3s ease;
    display: block;
    padding: 4px 0;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.quick-links-box a:hover {
    transform: translateX(5px);
    color: #60A5FA !important;
}

/* Hover effect for links inside the box */
.quick-links-box a:hover {
    color: #1E3A8A; /* Dark blue on hover */
}
/* Typing Animation for Hero Heading Only */
/* Typing Animation for Hero Heading Only */
/* Typing Animation for Hero Text */
.typing-text {
    display: inline-block;
    overflow: hidden; /* Hides text beyond width */
    white-space: nowrap; /* Keeps text on one line */
    border-right: 4px solid #FFFFFF; /* Cursor effect */
    animation: typing 7s steps(20) infinite, blink 0.75s infinite; /* Loops infinitely */
}

/* Typing Animation Keyframes */
@keyframes typing {
    0% {
        width: 0;
    }
    50% {
        width: 100%; /* Text fully typed at midpoint */
    }
    100% {
        width: 0; /* Resets to empty at end of cycle */
    }
}

/* Blinking Cursor Keyframes */
@keyframes blink {
    0%, 100% {
        border-color: transparent;
    }
    50% {
        border-color: #FFFFFF;
    }
}