/* Color Variables */
:root {
    --gold: #D4AF37;
    --dark-gold: #B8860B;
    --dark-blue: #0a192f;
    --blue: #0047AB;
    --light-blue: #3b82f6;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --dark: #212529;
}

/* Base Styles */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
    width: auto;
    height: auto;
    padding: 0.75rem 1rem;
    background: var(--dark-blue);
    color: #fff;
    z-index: 9999;
    border-radius: 0.5rem;
    text-decoration: none;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    padding-top: 0; /* Changed from 72px to handle hero overlap */
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.text-gold {
    color: var(--gold);
}

.bg-gold {
    background-color: var(--gold);
}

.btn-gold {
    background-color: var(--gold);
    color: var(--dark);
    border-color: var(--gold);
}

.btn-gold:hover {
    background-color: #C19B2B;
    border-color: #C19B2B;
    color: var(--dark);
}

.text-blue {
    color: var(--blue);
}

.bg-blue {
    background-color: var(--blue);
}

.bg-dark-blue {
    background-color: var(--dark-blue);
}

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

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

.btn-outline-blue {
    border-color: var(--blue);
    color: var(--blue);
}

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

/* Navigation */
/* Premium Navbar Background */
.premium-navbar {
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.95), rgba(0, 71, 171, 0.95));
    padding: 0 0;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

/* Brand Styling */
.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 1px;
    transition: 0.3s;
}

.navbar-brand:hover {
    transform: scale(1.05);
    color: #fff !important;
}

/* Nav Links */
.nav-link {
    position: relative;
    margin: 5px 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* Underline Hover Effect */
.nav-link::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    left: 0;
    bottom: 0;
    background: #fff;
    transition: 0.3s ease;
}

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

/* Hover Glow Effect */
.nav-link:hover {
    color: #fff !important;
    text-shadow: 0 0 8px rgba(255,255,255,0.7);
}

/* Active Link */
.nav-link.active {
    color: #fff !important;
}

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

/* Navbar Scroll Effect (optional premium feel) */
.navbar.scrolled {
    background: rgba(0, 0, 0, 0.85) !important;
    backdrop-filter: blur(10px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(10, 25, 47, 0.7), rgba(0, 71, 171, 0.6)), 
                url('https://images.unsplash.com/photo-1492724441997-5dc865305da7');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    color: var(--white);
    margin-top: 0;
    padding-top: 80px; /* New: accounts for navbar */
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(10, 25, 47, 0.8), rgba(0, 71, 171, 0.8)), 
                url('https://images.unsplash.com/photo-1547658719-da2b51169166?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 40vh;
    display: flex;
    align-items: center;
    color: var(--white);
    padding-top: 80px; /* Accounts for fixed navbar */
}

/* Section Titles */
.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: var(--gold);
    bottom: -10px;
    left: 0;
}

/* Service Cards */
.service-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-card .card-body {
    padding: 1.5rem;
}

/* Portfolio Items */
.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.85); /* New Dark Blue Overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: var(--white);
    padding: 20px;
}

/* Testimonials */
.testimonial-card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-card img {
    border: 3px solid var(--gold);
}

/* Value Cards */
.value-card {
    border: none;
    border-radius: 10px;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
}

/* Team Cards */
.team-card {
    padding: 20px;
    text-align: center;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-card img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin: 0 auto;
    border: 3px solid var(--gold);
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: rgba(0, 71, 171, 0.1); /* Blue theme */
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--blue);
    color: var(--white);
}

/* Process Cards */
.process-card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.process-number {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue); /* Blue theme */
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
}

/* Pricing Cards */
.pricing-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.popular {
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: 10px;
    right: -30px;
    background: var(--gold);
    color: var(--dark);
    padding: 5px 30px;
    font-weight: 600;
    transform: rotate(45deg);
}

.pricing-card .card-header {
    border-bottom: none;
}

/* Contact Section */
.contact-info {
    background: var(--light-gray);
    border-radius: 10px;
}

.contact-form {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.map-container {
    width: 100%;
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* FAQ */
.accordion-button:not(.collapsed) {
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--dark);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(212, 175, 55, 0.25);
}

/* Footer */
/* Footer Background */
.premium-footer {
    background: linear-gradient(135deg, #0a192f, #112240, #1a365d); /* New Dark Blue Gradient */
    position: relative;
}

/* Text */
.footer-text {
    color: #ccc;
    line-height: 1.7;
}

/* Headings */
.footer-heading {
    color: #f1c40f;
    margin-bottom: 20px;
    font-weight: 600;
}

/* Links */
.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

/* Arrow Icon Animation */
.footer-links a i {
    margin-right: 8px;
    transition: 0.3s;
}

/* Hover Effect */
.footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-links a:hover i {
    color: #f1c40f;
}

/* Contact Icons */
.footer-contact li {
    margin-bottom: 12px;
    color: #ccc;
}

.footer-contact i {
    margin-right: 10px;
    color: #f1c40f;
}

/* Social Icons */
.social-icons a {
    display: inline-block;
    margin-right: 10px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background: rgba(255,255,255,0.1);
    text-align: center;
    border-radius: 50%;
    color: #fff;
    transition: 0.3s;
}

/* Social Hover */
.social-icons a:hover {
    background: #f1c40f;
    color: #000;
    transform: translateY(-5px);
}

/* Divider */
.footer-divider {
    border-color: rgba(255,255,255,0.1);
}

/* Bottom */
.footer-bottom p {
    margin: 0;
    color: #aaa;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .hero-section {
        min-height: 60vh;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .page-header {
        min-height: 40vh;
    }
    
    .pricing-card.popular {
        transform: scale(1);
    }
    
    .pricing-card.popular:hover {
        transform: scale(1) translateY(-10px);
    }
}

/* Section Background */
.why-choose-us {
    background: linear-gradient(135deg, #f5f7fa, #e4ecf7);
}

/* Title */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
}

.section-subtitle {
    color: #777;
    max-width: 600px;
    margin: auto;
}

/* Box Styling */
.why-box {
    background: #fff;
    padding: 30px 25px;
    border-radius: 15px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* Icon */
.why-box .icon {
    font-size: 40px;
    color: var(--blue); /* Updated to blue */
    margin-bottom: 15px;
    transition: 0.3s;
}

/* Hover Effects */
.why-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Icon Animation */
.why-box:hover .icon {
    transform: rotateY(180deg);
    color: var(--light-blue); /* Updated to light blue */
}

/* Glow Border Effect */
.why-box::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 15px;
    padding: 2px;
    background: linear-gradient(45deg, var(--dark-blue), var(--blue)); /* Updated to blue gradient */
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
            mask-composite: exclude;
    opacity: 0;
    transition: 0.3s;
}

.why-box:hover::before {
    opacity: 1;
}

/* Text */
.why-box h5 {
    font-weight: 600;
    margin-bottom: 10px;
}

.why-box p {
    color: #666;
    font-size: 14px;
}