/* Core Variables */
:root {
    --navy: #0a2351;
    --gold: #c5a059;
    --red: #d32f2f;
}

/* Added explicit Background Color Utility */
.bg-navy-custom {
    background-color: var(--navy) !important;
}

/* Added specific high z-index to the floating button so it never hides behind sections */
.floating-btn {
    z-index: 1050; 
}

body {
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

/* Typography Utilities */
.text-navy { color: var(--navy) !important; }
.text-gold { color: var(--gold) !important; }
.border-navy { border-color: var(--navy) !important; }
.border-gold { border-color: var(--gold) !important; }
.text-shadow { text-shadow: 2px 2px 8px rgba(0,0,0,0.7); }
.tracking-wide { letter-spacing: 2px; }

/* Navbar */
.navbar {
    background-color: var(--navy);
}
.brand-text {
    font-weight: 700;
    color: white;
    font-size: 1.5rem;
}
.btn-outline-gold {
    color: var(--gold);
    border: 2px solid var(--gold);
    font-weight: 600;
}
.btn-outline-gold:hover {
    background-color: var(--gold);
    color: var(--navy);
}

/* Scrolling News Banner */
.news-ticker {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    box-sizing: border-box;
}
.ticker-content {
    display: inline-block;
    animation: ticker 25s linear infinite;
    font-size: 0.95rem;
}
@keyframes ticker {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Hero Section */
#heroCarousel, .carousel-inner, .carousel-item {
    height: 85vh;
    min-height: 600px;
    position: relative;
}
.carousel-item {
    background-size: cover;
    background-position: center center;
}
.carousel-overlay {
    background: rgba(10, 35, 81, 0.5);
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
}
.carousel-caption {
    bottom: 0;
    top: 0;
    z-index: 10;
}

/* Pulse Animation for Consultancy Button */
.pulse-animation {
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(211, 47, 47, 0); }
    100% { box-shadow: 0 0 0 0 rgba(211, 47, 47, 0); }
}

/* Search Bar & Hero Links */
.hero-search-bar {
    border-radius: 50px;
    padding-left: 30px;
}
.hero-search-bar:focus {
    box-shadow: 0 0 0 0.25rem rgba(197, 160, 89, 0.5);
    border-color: var(--gold);
}

.tag-box-hero {
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    text-decoration: none;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
}
.tag-box-hero:hover {
    background-color: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.btn-gold {
    background-color: var(--gold);
    color: var(--navy);
    border: none;
    border-radius: 50px;
    transition: transform 0.2s;
}
.btn-gold:hover {
    background-color: #d8b471;
    transform: translateY(-2px);
    color: var(--navy);
}

/* Parallax Sections */
.parallax-section {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 120px 0;
}
.parallax-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 35, 81, 0.85);
}
.parallax-section .container {
    position: relative;
    z-index: 1;
}

/* Form Styles */
.form-control:focus, .form-select:focus {
    box-shadow: none;
    border: 1px solid var(--navy) !important;
}
.btn-navy {
    background-color: var(--navy);
    color: white;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.btn-navy:hover {
    background-color: #11367a;
    color: white;
}
.captcha-placeholder {
    background: #e9ecef;
    padding: 10px 20px;
    font-weight: bold;
    letter-spacing: 5px;
    font-family: monospace;
    font-size: 1.2rem;
}
.tagline {
    color: var(--red);
    font-style: italic;
}

/* Footer */
.footer {
    background-color: var(--navy);
}
.hover-white:hover {
    color: white !important;
}