:root {
    --primary-color: #002147;
    --secondary-color: #E31E24;
    --text-dark: #1a1a1a;
    --text-light: #f8f9fa;
    --text-muted: #6c757d;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 105px;
    /* Added to compensate for fixed header */
}

.fixed-top {
    z-index: 1030;
}

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

/* Top Bar */
.top-bar {
    background: var(--primary-color);
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.top-bar a:hover {
    color: var(--secondary-color);
}

.top-social a {
    margin-left: 15px;
}

/* Navigation */
.navbar-brand img {
    height: 50px;
}

.nav-link {
    font-weight: 600;
    color: var(--primary-color) !important;
    margin: 0 10px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 10px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: calc(100% - 20px);
}

.btn-cta {
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 600;
    background: var(--primary-color);
    border: none;
    transition: var(--transition);
}

.btn-cta:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(227, 30, 36, 0.3);
}

/* Hero Section */
.hero-section {
    height: 85vh;
    min-height: 600px;
}

.carousel,
.carousel-inner,
.carousel-item {
    height: 100%;
}

.carousel-item {
    background-size: cover;
    background-position: center;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 33, 71, 0.6);
    /* Uniform darker overlay */
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    position: relative;
}

.hero-content h1 {
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Stats Section */
.stat-card {
    padding: 20px;
    border-right: 1px solid #eee;
}

.col-md-3:last-child .stat-card {
    border-right: none;
}

/* About Section */
.about-image-wrapper {
    position: relative;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--secondary-color);
    color: white;
    padding: 20px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(227, 30, 36, 0.4);
}

.experience-badge .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.custom-list li {
    margin-bottom: 15px;
    font-weight: 500;
}

/* Products Section */
.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 100%;
}

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

.product-img {
    height: 250px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

.product-body {
    padding: 25px;
}

.product-body h4 {
    font-weight: 700;
    color: var(--primary-color);
}

/* Infra Section */
.infra-item h4 {
    display: flex;
    align-items: center;
}

/* Contact Section */
.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(227, 30, 36, 0.1);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.2rem;
}

.contact-form-card {
    border: none;
}

.form-control {
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 10px;
}

.form-control:focus {
    box-shadow: 0 0 10px rgba(0, 33, 71, 0.1);
    border-color: var(--primary-color);
}

/* Footer */
.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
    transition: var(--transition);
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--secondary-color);
    color: white;
    transform: rotate(360deg);
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

/* Buttons */
.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

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

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

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

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

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

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

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

.animate__fadeInDown {
    animation: fadeInDown 1s both;
}

.animate__fadeInUp {
    animation: fadeInUp 1s both;
}

.animate__delay-1s {
    animation-delay: 0.5s;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding-top: 80px;
    }

    /* Less padding for mobile as top bar is hidden */
    .hero-section {
        height: 70vh;
    }

    .display-3 {
        font-size: 2.5rem;
    }

    .stat-card {
        border-right: none;
        border-bottom: 1px solid #eee;
    }

    .col-6:nth-child(even) .stat-card {
        border-right: none;
    }

    .experience-badge {
        bottom: 10px;
        right: 10px;
        padding: 10px 20px;
    }
}