/* Finanix - Business Consulting Website Styles */

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    font-size: 16px;
    font-weight: 400;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

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

img {
    max-width: 100%;
    height: auto;
}

/* Header Styles */
.header-area {
    position: relative;
    z-index: 999;
}

.topbar-area {
    background-color: #1a1a1a !important;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid #333;
}

.topbar-area ul {
    margin: 0;
    padding: 0;
}

.topbar-area ul li {
    margin-right: 25px;
    display: inline-block;
    color: #ccc;
}

.topbar-area ul li:last-child {
    margin-right: 0;
}

.topbar-area i {
    color: #E63A18;
    margin-right: 8px;
    font-size: 12px;
}

.topbar-area a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.topbar-area a:hover {
    color: #E63A18;
}

/* Navbar Styles */
.navbar {
    padding: 15px 0;
    transition: all 0.3s ease;
    background-color: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    position: relative;
}

.navbar-brand img {
    height: 45px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link {
    color: #333 !important;
    font-weight: 500;
    font-size: 15px;
    padding: 12px 18px !important;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: #E63A18 !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #E63A18;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 20px;
}

/* Navbar CTA */
.navbar-cta {
    background-color: #E63A18;
    padding: 12px 18px;
    border-radius: 8px;
    margin-left: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.navbar-cta:hover {
    background-color: #a80101;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(204, 2, 2, 0.3);
}

.navbar-cta .cta-content {
    display: flex;
    align-items: center;
    color: white;
}

.navbar-cta .cta-icon {
    margin-right: 12px;
    font-size: 16px;
}

.navbar-cta .cta-text {
    display: flex;
    flex-direction: column;
}

.navbar-cta .cta-text span {
    font-size: 11px;
    margin-bottom: 3px;
    opacity: 0.9;
}

.navbar-cta .btn {
    background-color: white;
    color: #E63A18;
    border: none;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.navbar-cta .btn:hover {
    background-color: #f8f9fa;
    transform: scale(1.05);
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 5px;
    padding: 10px 0;
}

.dropdown-item {
    padding: 8px 20px;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: #E63A18;
    color: white;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
}

/* Hero Section */
.hero-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #1170ff 0%, #0d5ce6 100%);
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}

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

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content h1 .highlight {
    font-size: 4rem;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-content .btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    background-color: #E63A18;
    border: none;
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.hero-content .btn:hover {
    background-color: #a80101;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(204, 2, 2, 0.3);
}

.hero-author {
    margin-top: 30px;
}

.hero-author .author-info h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.hero-author .author-info span {
    font-size: 0.9rem;
    opacity: 0.8;
}

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

.hero-image img {
    max-width: 100%;
    height: auto;
}

.hero-sidebar {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.sidebar-cta {
    background-color: #E63A18;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    color: white;
    width: 100%;
}

.sidebar-cta .cta-icon {
    font-size: 24px;
    margin-bottom: 10px;
}

.sidebar-cta .cta-text span {
    display: block;
    font-size: 12px;
    margin-bottom: 10px;
}

.sidebar-cta .btn {
    background-color: white;
    color: #E63A18;
    border: none;
    padding: 8px 15px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 5px;
}

/* Services Section */
.services-section {
    padding: 120px 0;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
}

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

.service-card .service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #E63A18, #a80101);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.service-card .service-icon i {
    font-size: 32px;
    color: white;
}

.service-card .service-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.service-card .service-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-card .read-more {
    color: #E63A18;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
}

.service-card .read-more:hover {
    color: #a80101;
}

.service-card .read-more::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #E63A18;
    transition: width 0.3s ease;
}

.service-card .read-more:hover::after {
    width: 0;
}

/* Features Section */
.features-section {
    padding: 120px 0;
    background-color: #f8f9fa;
}

.features-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.features-content > p {
    color: #E63A18;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #666;
}

.features-list li i {
    color: #E63A18;
    margin-right: 15px;
    font-size: 18px;
}

.features-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Statistics */
.stats-container {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    background: linear-gradient(135deg, #E63A18, #a80101);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    color: white;
    flex: 1;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Section Headers */
.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.section-header h2 .highlight {
    font-size: 3rem;
    font-weight: 800;
}

.section-header p {
    color: #E63A18;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 50px;
}

/* Works Section */
.works-section {
    padding: 120px 0;
}

.work-item {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.work-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.work-image {
    position: relative;
    overflow: hidden;
}

.work-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.work-item:hover .work-image img {
    transform: scale(1.1);
}

.work-content {
    padding: 25px;
    background: white;
}

.work-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
}

.work-content span {
    color: #E63A18;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Other Works Link */
.other-works-link {
    color: #E63A18;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.other-works-link:hover {
    color: #a80101;
}

/* Company Logos */
.company-logos {
    padding: 40px 0;
    background-color: #f8f9fa;
    border-radius: 10px;
}

.logo-item {
    text-align: center;
    padding: 20px;
    color: #666;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.logo-item:hover {
    color: #E63A18;
}

/* Testimonials Section */
.testimonials-section {
    padding: 120px 0;
    background-color: #f8f9fa;
}

.testimonial-item {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.testimonial-content p {
    font-size: 1.1rem;
    color: #666;
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.author-info span {
    color: #E63A18;
    font-weight: 500;
}

/* Awards Section */
.awards-section {
    padding: 120px 0;
}

.award-item {
    margin-bottom: 30px;
    padding: 30px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

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

.award-image {
    margin-bottom: 20px;
}

.award-image img {
    max-width: 80px;
    height: auto;
}

.award-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.award-content span {
    color: #E63A18;
    font-weight: 500;
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://reactheme.com/products/wordpress/finanix/wp-content/uploads/2022/02/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: grayscale(100%) brightness(0.3);
    z-index: 1;
}

.cta-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2;
}

.cta-content {
    position: relative;
    z-index: 3;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.3;
}

.cta-content .btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    background-color: #E63A18;
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.cta-content .btn:hover {
    background-color: #a80101;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(204, 2, 2, 0.3);
}

/* News Section */
.news-section {
    padding: 120px 0;
}

.news-item {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background: white;
}

.news-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.news-image {
    position: relative;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 25px;
}

.news-meta {
    margin-bottom: 15px;
}

.news-meta span {
    color: #666;
    font-size: 0.9rem;
}

.news-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}

.read-more {
    color: #E63A18;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #a80101;
}

.read-more::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #E63A18;
    transition: width 0.3s ease;
}

.read-more:hover::after {
    width: 0;
}

/* Footer */
.footer-area {
    background-color: #1a1a1a !important;
    padding: 80px 0 30px;
    position: relative;
}

.footer-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #E63A18, transparent);
}

.footer-widget h5 {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 30px;
    position: relative;
}

.footer-widget h5::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #E63A18;
}

.footer-widget p {
    color: #ccc;
    line-height: 1.8;
    font-size: 14px;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget ul li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 0;
    transition: all 0.3s ease;
}

.footer-widget ul li::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    width: 0;
    height: 1px;
    background-color: #E63A18;
    transition: width 0.3s ease;
    transform: translateY(-50%);
}

.footer-widget ul li:hover::before {
    width: 10px;
}

.footer-widget ul li a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.footer-widget ul li a:hover {
    color: #E63A18;
    padding-left: 5px;
}

.footer-widget ul li i {
    color: #E63A18;
    margin-right: 10px;
    width: 16px;
    text-align: center;
}

.subscribe-form .form-control {
    background-color: #333;
    border: 1px solid #444;
    color: white;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 12px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.subscribe-form .form-control:focus {
    background-color: #333;
    border-color: #E63A18;
    color: white;
    box-shadow: 0 0 0 0.2rem rgba(204, 2, 2, 0.25);
    outline: none;
}

.subscribe-form .form-control::placeholder {
    color: #999;
    font-size: 14px;
}

.subscribe-form .btn {
    background-color: #E63A18;
    border: none;
    border-radius: 8px;
    padding: 12px 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.subscribe-form .btn:hover {
    background-color: #a80101;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(204, 2, 2, 0.3);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 25px;
    margin-top: 40px;
}

.footer-bottom p {
    color: #999;
    font-size: 14px;
    margin: 0;
}

.footer-bottom ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-bottom ul li {
    display: inline-block;
    margin-left: 20px;
}

.footer-bottom ul li:first-child {
    margin-left: 0;
}

.footer-bottom ul li a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-bottom ul li a:hover {
    color: #E63A18;
}

/* Sticky Navigation Styles */
.header-area {
    position: relative;
    z-index: 999;
    transition: all 0.3s ease;
}

.header-area.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    animation: slideDown 0.3s ease;
}

.header-area.sticky .topbar-area {
    display: none;
}

.header-area.sticky .navbar {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
    padding: 10px 0;
}

.header-area.sticky .navbar-brand img {
    height: 40px;
}

.header-area.sticky .navbar-nav .nav-link {
    padding: 8px 15px !important;
    font-size: 14px;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Header placeholder to prevent content jump */
.header-placeholder {
    height: 0;
    transition: height 0.3s ease;
}

.header-placeholder.active {
    height: 60px; /* Height of navbar only when sticky */
}

/* Social Media Icons in Footer */
.footer-social {
    margin-top: 20px;
}

.footer-social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #333;
    color: #ccc;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: #E63A18;
    color: white;
    transform: translateY(-3px);
}



/* Responsive Design */
@media (max-width: 1199px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content h1 .highlight {
        font-size: 3.5rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .section-header h2 .highlight {
        font-size: 2.8rem;
    }
}

@media (max-width: 991px) {
    .hero-section {
        padding: 80px 0;
        min-height: auto;
    }
    
    .services-section,
    .features-section,
    .works-section,
    .testimonials-section,
    .awards-section,
    .cta-section,
    .news-section {
        padding: 80px 0;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content h1 .highlight {
        font-size: 3.2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header h2 .highlight {
        font-size: 2.5rem;
    }
    
    .navbar-cta {
        margin-left: 0;
        margin-top: 15px;
    }
    
    .hero-sidebar {
        margin-top: 30px;
    }
    
    .topbar-area {
        padding: 6px 0;
    }
    
    .topbar-area ul li {
        margin-right: 15px;
        font-size: 12px;
    }
    
    .navbar {
        padding: 12px 0;
    }
    
    .navbar-brand img {
        height: 40px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h1 .highlight {
        font-size: 3rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header h2 .highlight {
        font-size: 2.2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .stats-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .topbar-area .col-md-6 {
        text-align: center !important;
        margin-bottom: 10px;
    }
    
    .topbar-area .col-md-6:last-child {
        margin-bottom: 0;
    }
    
    .service-card {
        margin-bottom: 20px;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
    
    .author-avatar {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .services-section,
    .features-section,
    .works-section,
    .testimonials-section,
    .awards-section,
    .cta-section,
    .news-section {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h1 .highlight {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header h2 .highlight {
        font-size: 2.2rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .navbar-cta {
        padding: 10px 15px;
    }
    
    .navbar-cta .cta-text {
        font-size: 11px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
    
    .author-avatar {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Additional Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out;
}

.animate-fadeInLeft {
    animation: fadeInLeft 0.8s ease-out;
}

.animate-fadeInRight {
    animation: fadeInRight 0.8s ease-out;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.p-0 { padding: 0; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 3rem; }

/* Custom Bootstrap Overrides */
.btn-primary {
    background-color: #E63A18;
    border-color: #E63A18;
}

.btn-primary:hover {
    background-color: #a80101;
    border-color: #a80101;
}

.bg-primary {
    background-color: #E63A18 !important;
}

.text-primary {
    color: #E63A18 !important;
}

/* Additional Button Styles */
.btn {
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-lg {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #E63A18;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus States for Accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid #E63A18;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .navbar,
    .footer-area,
    .cta-section {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
}

/* Additional Mobile Responsive Styles for Header and Footer */
@media (max-width: 768px) {
    .topbar-area {
        padding: 5px 0;
    }
    
    .topbar-area .col-md-6 {
        text-align: center !important;
        margin-bottom: 8px;
    }
    
    .topbar-area ul li {
        margin-right: 10px;
        font-size: 11px;
    }
    
    .navbar {
        padding: 10px 0;
    }
    
    .navbar-brand img {
        height: 35px;
    }
    
    .navbar-nav .nav-link {
        padding: 8px 12px !important;
        font-size: 14px;
    }
    
    .navbar-cta {
        padding: 8px 12px;
        margin-left: 0;
        margin-top: 10px;
    }
    
    .header-placeholder.active {
        height: 50px;
    }
    
    .header-area.sticky .navbar {
        padding: 8px 0;
    }
    
    .header-area.sticky .navbar-brand img {
        height: 35px;
    }
    
    .footer-area {
        padding: 60px 0 20px;
    }
    
    .footer-widget h5 {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
    
    .footer-widget p,
    .footer-widget ul li a {
        font-size: 13px;
    }
    
    .footer-bottom {
        padding-top: 20px;
        margin-top: 30px;
    }
    
    .footer-bottom p,
    .footer-bottom ul li a {
        font-size: 12px;
    }
}

/* Header (new structure) */
.site-header {
  position: relative;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

/* .site-header .container intentionally inherits Bootstrap spacing */

.site-header .navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  background-color: transparent;
  box-shadow: none;
}

.site-header .logo-wrapper img {
  height: 45px;
  display: block;
  padding: 0 !important;
    
}

.site-header .sep {
  display: none; /* hidden separator */
}

/* Main menu */
.site-header .main-menu .nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-header .main-menu .nav-list .menu-item a {
  display: inline-block;
  color: #333;
  font-weight: 500;
  font-size: 15px;
  padding: 8px 4px;
  position: relative;
  transition: color .3s ease;
  text-decoration: none;
}

.site-header .main-menu .nav-list .menu-item a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 12px;
  width: 0;
  height: 2px;
  background: #E63A18;
  transform: translateX(-50%);
  transition: width .25s ease;
}

.site-header .main-menu .nav-list .menu-item a:hover {
  color: #E63A18;
}

.site-header .main-menu .nav-list .menu-item a:hover::after {
  width: 18px;
}

/* Actions area */
.site-header .actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-header .actions .action-btn {
  color: #333;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: background .3s ease, color .3s ease, transform .2s ease;
}

.site-header .actions .action-btn:hover {
  background: rgba(204,2,2,0.08);
  color: #E63A18;
  transform: translateY(-1px);
}

/* Avatar hover menu */
.site-header .action-hover-menu {
  position: relative;
}

.site-header .action-hover-menu .hover-warp {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 260px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border-radius: 8px;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all .2s ease;
  z-index: 1001;
}

.site-header .action-hover-menu:hover .hover-warp {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Burger for mobile */
.site-header .burger {
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

/* Search panel */
.navbar-search {
  display: none; /* initially hidden */
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  padding: 16px 0;
}

/* header gap block after header to prevent jump */
.header-gap { height: 0; transition: height .3s ease; }
.header-gap.active { height: 60px; }

/* Sticky state (new header selector) */
.site-header.sticky {
  position: fixed;
  left: 0; right: 0; top: 0;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.site-header.sticky .navbar { padding: 10px 0; }
.site-header.sticky .logo-wrapper img { height: 40px; }
.site-header.sticky .main-menu .nav-list .menu-item a { padding: 6px 4px; font-size: 14px; }

/* Responsive tweaks for the new header */
@media (max-width: 991px) {
  .site-header .main-menu { display: none !important; }
  .site-header .logo-wrapper img { height: 40px; }
}

@media (max-width: 768px) {
  .header-gap.active { height: 50px; }
  .site-header .navbar { padding: 10px 0; }
  .site-header.sticky .logo-wrapper img { height: 36px; }
}

/* Active current menu item */
.site-header .main-menu .nav-list .menu-item.current-menu-item > a,
.site-header .main-menu .nav-list .menu-item.current-menu-parent > a,
.site-header .main-menu .nav-list .menu-item.current-menu-ancestor > a,
.site-header .main-menu .nav-list .menu-item > a[aria-current="page"] {
  color: #E63A18;
  font-weight: 600;
}

.site-header .main-menu .nav-list .menu-item.current-menu-item > a::after,
.site-header .main-menu .nav-list .menu-item.current-menu-parent > a::after,
.site-header .main-menu .nav-list .menu-item.current-menu-ancestor > a::after,
.site-header .main-menu .nav-list .menu-item > a[aria-current="page"]::after {
  width: 18px;
}