/* Premium CPA Website Styles - Rise Athlete Aesthetic */
:root {
    --brand-primary: #0f2b36;
    /* Dark Teal/Blue */
    --secondary-color: #ffffff;
    /* White */
    --accent-color: #f8f9fa;
    --text-dark: #333333;
    --text-light: #ffffff;
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: #ffffff;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--brand-primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Navbar */
.navbar {
    background-color: transparent !important;
    padding: 1.5rem 0;
    position: absolute;
    width: 100%;
    z-index: 1000;
    box-shadow: none;
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: #fff !important;
    font-weight: 900;
    letter-spacing: 2px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 600;
    margin-left: 1.5rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #fff;
    transition: width 0.3s ease-in-out;
}

.nav-link:hover,
.nav-link.active {
    color: #fff !important;
    opacity: 1;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.no-hover-line::after {
    display: none !important;
}

/* Mobile Menu Fix */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: rgba(15, 43, 54, 0.95);
        padding: 1rem;
        margin-top: 1rem;
        border-radius: 4px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }

    .nav-link {
        margin-left: 0;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link:last-child {
        border-bottom: none;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    color: var(--text-light);
    padding: 200px 0 150px;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Cinematic Background Image */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    z-index: -2;
    animation: cinematicZoom 30s ease-in-out infinite alternate;
}

/* Gradient Overlay */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(15, 43, 54, 0.85), rgba(15, 43, 54, 0.75));
    z-index: -1;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

@keyframes cinematicZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.15);
    }
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInDown 1s ease-out;
    line-height: 1.1;
    color: #fff;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.5s both;
}

/* Buttons */
.btn-premium {
    background-color: #ffffff;
    color: var(--brand-primary);
    padding: 15px 40px;
    border-radius: 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #ffffff;
    margin: 0 10px;
}

.btn-premium:hover {
    background-color: transparent;
    color: #ffffff;
}

.btn-outline-light {
    padding: 15px 40px;
    border-radius: 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin: 0 10px;
}

.btn-outline-light:hover {
    background-color: #ffffff;
    color: var(--brand-primary);
    border-color: #ffffff;
}

.btn-outline-dark {
    padding: 15px 40px;
    border-radius: 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--brand-primary);
    margin: 0 10px;
    color: var(--brand-primary);
    background-color: transparent;
}

.btn-outline-dark:hover {
    background-color: var(--brand-primary);
    color: #ffffff;
    border-color: var(--brand-primary);
}

/* Page Header for Subpages */
/* Page Header for Subpages */
.page-header {
    position: relative;
    background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80') no-repeat center center;
    background-size: cover;
    color: #fff;
    padding: 150px 0 60px;
    text-align: center;
    margin-bottom: 0;
    z-index: 1;
}

/* Overlay to match index page style */
.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(15, 43, 54, 0.9), rgba(15, 43, 54, 0.8));
    z-index: -1;
}

.page-header h1 {
    color: #fff;
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.page-header .lead {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Services Preview */
.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--brand-primary);
    margin: 20px auto 0;
}

.service-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-bottom-color: var(--brand-primary);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--brand-primary);
    margin-bottom: 20px;
}

/* Footer */
footer {
    background-color: var(--brand-primary);
    color: #fff;
    padding: 60px 0 20px;
}

.footer-heading {
    color: #fff;
    margin-bottom: 20px;
    opacity: 0.8;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Counters */
.counter-box {
    text-align: center;
    color: #fff;
    margin-top: 20px;
    animation: fadeInUp 1s ease-out 0.5s;
}

.counter-number {
    font-size: 3.5rem;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 0;
    color: #fff;
}

.plus-sign {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
}

.counter-text {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-top: 5px;
    font-weight: 400;
    text-transform: capitalize;
}

@media (max-width: 768px) {

    .counter-number,
    .plus-sign {
        font-size: 2.5rem;
    }

    .counter-text {
        font-size: 0.9rem;
    }
}