:root {
    --primary-color: #ff6b00;
    --secondary-color: #1a1a1a;
    --bg-dark: #0f0f0f;
    --text-light: #e0e0e0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
}

/* Custom Header Styling */
.custom-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.custom-header.sticky-scrolled {
    position: fixed;
    background-color: #111;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    animation: slideDown 0.3s ease-out;
}

.custom-header.sticky-scrolled .top-bar {
    display: none;
}

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

    to {
        transform: translateY(0);
    }
}

.top-bar {
    background-color: #161616;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar .text-muted {
    color: #777 !important;
    font-size: 0.85rem;
}

.main-navbar-wrapper {
    background-color: #1f1f1f;
    position: relative;
}

.nav-orange-bg {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 71%;
    background: linear-gradient(90deg, #ff8c00 0%, #e62e00 100%);
    clip-path: polygon(0 0, 100% 0, calc(100% - 50px) 100%, 0% 100%);
    z-index: 1;
}

@media (max-width: 1200px) {
    .nav-orange-bg {
        width: 80%;
    }
}

.main-navbar {
    height: 85px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0b1a30;
    font-size: 1.4rem;
    margin-right: 12px;
}

.logo-text {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.5px;
}

.nav-menu {
    margin-left: 20px;
}

.nav-menu li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 18px;
    transition: opacity 0.3s;
    font-family: 'Inter', sans-serif;
}

.nav-menu li a:hover {
    opacity: 0.8;
}

.nav-dark-section {
    padding-left: 40px;
}

.phone-wrapper .phone-icon {
    width: 42px;
    height: 42px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e62e00;
    font-size: 1.1rem;
}

.phone-text {
    color: white;
    font-weight: 600;
    font-size: 1.05rem;
}

.dots-wrapper {
    gap: 5px;
}

.dots-wrapper .dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
}

.dots-wrapper .dot.orange {
    background-color: #ff8c00;
}

.dots-wrapper .dot.red {
    background-color: #e62e00;
}

/* Custom Footer Styling */
.custom-footer {
    background: linear-gradient(rgba(10, 10, 10, 0.95), rgba(10, 10, 10, 0.95)), url('../images/coal_hero.png') no-repeat center center/cover;
    position: relative;
}

.custom-footer .footer-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #999 !important;
}

.custom-footer .text-danger {
    color: #e62e00 !important;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

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

.post-title {
    font-size: 0.95rem;
    transition: color 0.3s;
    line-height: 1.4;
}

.post-title:hover {
    color: #e62e00 !important;
}

.newsletter-form .form-control {
    background-color: #1a1a1a;
    border: 1px solid #333;
    color: white;
    padding: 12px 15px;
    border-radius: 0;
    font-size: 0.9rem;
}

.newsletter-form .form-control:focus {
    box-shadow: none;
    border-color: #e62e00;
}

.btn-subscribe {
    background-color: #e62e00;
    color: white;
    border-radius: 0;
    padding: 12px 15px;
    font-size: 0.95rem;
    text-transform: capitalize;
    border: none;
}

.btn-subscribe:hover {
    background-color: #cc2900;
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.footer-bottom-links a:hover {
    color: white !important;
}

.back-to-top {
    position: absolute;
    right: 20px;
    top: -20px;
    width: 40px;
    height: 40px;
    background-color: #000;
    border: 1px solid #ff8c00;
    color: #ff8c00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
}

.back-to-top:hover {
    background-color: #ff8c00;
    color: black;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    background: url('../images/coal_hero.png') no-repeat center center/cover;
    color: white;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(20, 20, 20, 0.6) 50%, rgba(255, 107, 0, 0.2) 100%);
    z-index: -1;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease;
}

.hero-title span {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    max-width: 600px;
    margin-bottom: 2rem;
    color: #bbb;
    animation: fadeInUp 1.2s ease;
}

/* Buttons */
.btn-custom {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.3);
}

.btn-custom:hover {
    background-color: #e65c00;
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(255, 107, 0, 0.4);
    color: white;
}

.btn-outline-custom {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 10px 28px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    background-color: white;
    color: var(--bg-dark);
    transform: translateY(-3px);
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: #111;
}

.section-subtitle {
    color: #888;
    font-size: 0.9rem;
    letter-spacing: 2px;
    font-weight: 600;
}

.section-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.3;
}

.service-card {
    position: relative;
    background-color: #1f1f1f;
    padding: 40px 30px;
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    text-decoration: none;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 20px 20px;
    border-color: transparent transparent #e62e00 transparent;
    transition: all 0.4s ease;
}

.service-card:hover,
.service-card.active {
    background: linear-gradient(135deg, #ff8c00 0%, #e62e00 100%);
    transform: translateY(-5px);
}

.service-card:hover::after,
.service-card.active::after {
    border-color: transparent transparent #fff transparent;
}

.service-icon {
    font-size: 2.5rem;
    color: #ff8c00;
    margin-bottom: 25px;
    transition: color 0.4s ease;
}

.service-title {
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.service-text {
    color: #999;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 0;
    transition: color 0.4s ease;
}

.service-card:hover .service-icon,
.service-card:hover .service-text,
.service-card.active .service-icon,
.service-card.active .service-text {
    color: white !important;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
