:root {
    --primary: #ff0000;
    --dark: #141313;
    --light: #ffffff;
    --gray: #f8f9faf3;
    --dark-gray: #212529;
    --mid-dark: #aeb0b1;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    background-color: var(--dark);
    color: var(--light);
}

.navbar {
    background-color: rgba(0, 0, 0, 0.9) !important;
    padding: 15px 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--light) !important;
}

.navbar-brand span {
    color: var(--light);
    /* white by default */
    font-weight: bold;
}

.navbar-brand span .highlight {
    color: var(--primary);
    /* red */
}

.nav-link {
    color: var(--light) !important;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.btn-cta {
    background-color: var(--primary);
    color: var(--light);
    border: none;
    padding: 10px 25px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background-color: #cc0000;
    color: var(--light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 0, 0, 0.2);
}

.btn-outline-cta {
    border: 2px solid var(--primary);
    color: var(--primary);
    background-color: transparent;
    padding: 10px 25px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-cta:hover {
    background-color: var(--primary);
    color: var(--light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 0, 0, 0.2);
}

.btn-custom {
    background-color: var(--primary);
    color: var(--light);
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-custom:hover {
    background-color: #cc0000;
    color: var(--light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 0, 0, 0.2);
}

.btn-outline-custom {
    border: 2px solid var(--primary);
    color: var(--primary);
    background-color: transparent;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    background-color: var(--primary);
    color: var(--light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 0, 0, 0.2);
}

.social-links a i {
    color: var(--light);
    /* margin-right: 15px; */
    transition: all 0.3s ease;
}
.social-links a i:hover {
    color: var(--primary);
    /* margin-right: 15px; */
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' viewBox='0 0 800 800'%3E%3Cg %3E%3Ccircle fill='%23000000' cx='400' cy='400' r='600'/%3E%3Ccircle fill='%23230000' cx='400' cy='400' r='500'/%3E%3Ccircle fill='%23350000' cx='400' cy='400' r='400'/%3E%3Ccircle fill='%23470000' cx='400' cy='400' r='300'/%3E%3Ccircle fill='%23590000' cx='400' cy='400' r='200'/%3E%3Ccircle fill='%236b0000' cx='400' cy='400' r='100'/%3E%3C/g%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-content {
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
}

.section-title {
    position: relative;
    margin-bottom: 50px;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -15px;
    width: 80px;
    height: 4px;
    background-color: var(--primary);
}

.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-padding {
    padding: 100px 0;
}

.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    color: var(--light);
    margin-bottom: 30px;
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(255, 0, 0, 0.2);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 25px;
}

.card-title {
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary);
}

.service-card {
    padding: 30px;
    border-radius: 15px;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    height: 100%;
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom: 3px solid var(--primary);
    box-shadow: 0 15px 30px rgba(255, 0, 0, 0.2);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.about-img {
    border-radius: 15px;
    overflow: hidden;
}

.about-content {
    padding: 30px;
}

.stats-item {
    text-align: center;
    padding: 30px 15px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    height: 100%;
}

.stats-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.stats-text {
    font-size: 1.1rem;
    font-weight: 500;
}

.contact-info {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.contact-item  a{
    text-decoration: none;
    color: var(--mid-dark);
}
.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}
.contact-icon:hover {
    background-color: rgba(255, 0, 0, 0.2);
    color: var(--light);
}

.newsletter-section {
    background-color: rgba(20, 20, 20, 0.9);
    border-radius: 8px;
    padding: 40px;
    margin-top: 60px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #333;
    text-align: center;
}

.newsletter-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--light);
}

.newsletter-description {
    color: #ccc;
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.newsletter-input {
    width: 100%;
    padding: 15px;
    padding-right: 150px;
    background-color: rgba(30, 30, 30, 0.9);
    border: 1px solid #444;
    color: var(--light);
    border-radius: 4px;
}

.newsletter-btn {
    position: absolute;
    right: 5px;
    top: 5px;
    background-color: var(--primary);
    border: none;
    color: var(--light);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background-color: #e60000;
}

.form-control {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light);
    border-color: var(--primary);
    box-shadow: none;
}


footer {
    background-color: #0a0a0a;
    padding: 60px 0 30px;
    position: relative;
}

.footer-heading {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--light);
    position: relative;
    padding-bottom: 10px;
}
.footer-description {
    color: #ccc;
    margin-bottom: 20px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary);
}

.footer-link {
    display: block;
    color: #ccc;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-link:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    margin-bottom: 15px;
    color: #ccc;
}

.footer-contact-icon {
    color: var(--primary);
    margin-right: 15px;
    font-size: 1.2rem;
}

.footer-bottom {
    background-color: #000;
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: #ccc;
}

.social-links {
    margin-top: 20px;
}



.copyright {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
}

/* Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Responsive Styles */
@media (max-width: 1199px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .section-padding {
        padding: 80px 0;
    }
}

@media (max-width: 991px) {
    .hero h1 {
        font-size: 3rem;
    }

    .navbar-collapse {
        background-color: rgba(0, 0, 0, 0.95);
        padding: 20px;
        border-radius: 10px;
        margin-top: 15px;
    }

    .nav-link {
        padding: 10px 0;
        margin: 0;
    }

    .section-padding {
        padding: 70px 0;
    }

    .service-icon {
        font-size: 2.5rem;
    }

    .stats-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 767px) {
    .hero {
        padding: 100px 0;
        height: auto;
        min-height: 100vh;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .btn-custom,
    .btn-outline-custom {
        padding: 8px 20px;
    }

    .service-card {
        padding: 20px;
    }

    .service-icon {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .about-content {
        padding: 20px 0;
    }

    .stats-item {
        padding: 20px 10px;
        margin-bottom: 20px;
    }

    .stats-number {
        font-size: 2rem;
    }

    .contact-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-icon {
        margin-bottom: 15px;
        margin-right: 0;
    }

    .footer-title {
        margin-top: 20px;
    }
}

@media (max-width: 575px) {
    .hero h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .btn-custom,
    .btn-outline-custom {
        width: 100%;
        margin-bottom: 10px;
        text-align: center;
    }

    .hero .btn-custom,
    .hero .btn-outline-custom {
        display: block;
        margin-right: 0 !important;
    }

    .card-body {
        padding: 20px 15px;
    }

    .service-card {
        padding: 15px;
    }

    .form-control {
        padding: 12px;
    }
}

/* Fix for button spacing on mobile */
@media (max-width: 575px) {
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .hero-buttons .btn {
        margin: 0 !important;
    }
}

/* Fix for navbar toggler */
.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler-icon {
    width: 24px;
    height: 24px;
    background-image: none !important;
    position: relative;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--light);
    left: 0;
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before {
    top: 8px;
}

.navbar-toggler-icon::after {
    bottom: 8px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg);
    top: 11px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg);
    bottom: 11px;
}

/* Ensure SVGs are responsive */
svg {
    width: 100%;
    height: auto;
}

/* Fix for input group on mobile */
@media (max-width: 575px) {
    .input-group {
        flex-direction: column;
    }

    .input-group .form-control {
        border-radius: 10px !important;
        margin-bottom: 10px;
    }

    .input-group .btn {
        border-radius: 30px !important;
        width: 100%;
    }
}