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

:root {
    --primary-color: #f7455d;
    --dark-bg: #113647;
    --dark-blue: #163e52;
    --text-dark: #123344;
    --text-light: #7c8b95;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 14px 30px;
    font-weight: 600;
    font-size: 14px;
    border-radius: 4px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--white);
}

.btn-link {
    background-color: transparent;
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 5px;
    padding-left: 10px;
}

.btn-link:hover {
    color: var(--primary-color);
}

/* Header */
.main-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
    transition: var(--transition);
}

.main-nav a:hover, .main-nav a.active {
    color: var(--primary-color);
}

.nav-icon {
    font-size: 10px;
    opacity: 0.7;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.cart-icon, .search-icon {
    color: var(--text-dark);
    font-size: 18px;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.cart-icon:hover, .search-icon:hover {
    color: var(--primary-color);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 10px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

.header-actions .btn-primary {
    padding: 12px 24px;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
}

.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
    display: flex;
    align-items: center;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-slide .hero-content {
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease 0.3s;
}

.hero-slide.active .hero-content {
    transform: translateY(0);
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(17, 54, 71, 0.9) 0%, rgba(17, 54, 71, 0.6) 50%, rgba(17, 54, 71, 0.2) 100%);
}

.hero-container {
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-content {
    max-width: 650px;
}

.subtitle {
    display: block;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-content .title {
    color: var(--white);
    font-size: 65px;
    margin-bottom: 25px;
}

.hero-content .description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--text-dark);
    border: none;
    font-size: 16px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.slider-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.prev-btn { left: 40px; }
.next-btn { right: 40px; }


/* About Section */
.about-section {
    padding: 100px 0;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image-column, .about-content-column {
    flex: 1;
}

.image-wrapper {
    position: relative;
    padding-right: 20px;
    padding-bottom: 20px;
}

.main-img {
    width: 100%;
    border-radius: 4px;
    display: block;
}

.stats-cards {
    position: absolute;
    bottom: -30px;
    left: 20px;
    right: 0;
    display: flex;
}

.stat-card {
    flex: 1;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-radius: 4px;
}

.dark-card {
    background-color: var(--dark-blue);
    color: var(--white);
}

.primary-card {
    background-color: var(--primary-color);
    color: var(--white);
}

.stat-icon {
    font-size: 35px;
    opacity: 0.8;
}

.stat-info h3 {
    font-size: 28px;
    margin-bottom: 5px;
}

.stat-info p {
    font-size: 14px;
    opacity: 0.9;
}

.subtitle-red {
    display: block;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.section-title {
    font-size: 42px;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.section-description {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 40px;
}

.features-list {
    position: relative;
    padding-left: 20px;
}

/* Timeline line */
.features-list::before {
    content: '';
    position: absolute;
    left: 42px;
    top: 10px;
    bottom: 30px;
    width: 2px;
    background-color: rgba(247, 69, 93, 0.3);
    z-index: -1;
}

.feature-item {
    display: flex;
    margin-bottom: 35px;
    gap: 25px;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-number {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.feature-text h3 {
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.feature-text p {
    color: var(--text-light);
    font-size: 15px;
}

/* Value Proposition Section */
.value-prop-section {
    width: 100%;
}

.value-row {
    display: flex;
    flex-wrap: wrap;
}

.value-col {
    flex: 1;
    min-width: 300px;
    padding: 80px 50px;
    color: var(--white);
    display: flex;
    flex-direction: column;
}

.value-col.col-1 {
    background-color: #1c4b63;
}

.value-col.col-2 {
    background-color: #163e52; /* var(--dark-blue) */
}

.value-col.col-3 {
    background-color: #113647; /* var(--dark-bg) */
}

.value-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.value-col h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--white);
}

.value-col p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

@media (max-width: 992px) {
    .value-col {
        flex: 100%;
    }
}

/* Services Gallery Section */
.services-gallery-section {
    padding-top: 100px;
    padding-bottom: 100px;
    background-color: #f8f9fa; /* Slightly off-white for contrast */
}

.section-heading-wrapper {
    text-align: center;
    margin-bottom: 50px;
}

.services-carousel-container {
    width: 100%;
    overflow: hidden;
    padding: 20px 0 50px 0;
}

.services-carousel-track {
    display: flex;
    width: max-content;
    animation: scrollCarousel 25s linear infinite;
}

.services-carousel-track:hover {
    animation-play-state: paused;
}

.carousel-group {
    display: flex;
    gap: 30px;
    padding-right: 30px; /* Gap between duplicate groups */
}

@keyframes scrollCarousel {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.service-card {
    min-width: 420px;
    flex: 0 0 420px;
    height: 450px;
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 8px; /* Slightly rounder for professional look */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 35px;
    color: var(--white);
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

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

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 54, 71, 0.7);
    transition: var(--transition);
}

.service-card:hover .card-overlay {
    background-color: rgba(17, 54, 71, 0.4);
}

.card-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.card-number {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 700;
}

.card-title {
    font-size: 24px;
    margin-top: -80px; /* Adjusting position to match design */
}

.card-icon {
    font-size: 30px;
    opacity: 0.8;
}

/* Procurement Section */
.procurement-section {
    padding: 100px 0;
    background-color: var(--white);
}

.procurement-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.procurement-content {
    flex: 1.2;
}

.procurement-content .section-title {
    font-size: 30px;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.procurement-content .section-description {
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 16px;
}

.procurement-image {
    flex: 1;
}

.procurement-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    display: block;
}

@media (max-width: 992px) {
    .procurement-container {
        flex-direction: column-reverse;
    }
}

/* Call To Action Section */
.cta-section {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 80px 0 0 0; /* Ensures content starts neatly from the top */
    display: block; /* Removes flex centering which pushed text out of the box */
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
}

.cta-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 900px;
}

.cta-boxes {
    display: flex;
    transform: translateY(50%); /* Overflowing the section */
}

.cta-box {
    flex: 1;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.white-box {
    background-color: var(--white);
    color: var(--text-dark);
}

.dark-glass-box {
    background-color: rgba(17, 54, 71, 0.85);
    backdrop-filter: blur(10px);
    color: var(--white);
}

.cta-number {
    font-size: 45px;
    color: var(--dark-blue);
}

.cta-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-blue);
    line-height: 1.3;
}

.cta-icon {
    font-size: 30px;
    color: var(--white);
}

.cta-info .cta-sub {
    font-size: 14px;
    opacity: 0.8;
}

.cta-info .cta-phone {
    font-size: 22px;
    font-weight: 700;
}

/* Responsive design adjustments could be added here */
@media (max-width: 992px) {
    .about-container {
        flex-direction: column;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.mobile-menu-toggle {
    display: none;
    font-size: 28px;
    color: var(--dark-blue); /* Changed from white so it is visible on the white header */
    cursor: pointer;
    z-index: 100;
    margin-left: auto; /* Push it to the right */
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    .main-nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--dark-blue);
        padding: 20px 0;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        z-index: 99;
    }
    .main-nav.active {
        display: block;
    }
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .main-nav a {
        color: var(--white);
        font-size: 16px;
    }
    .header-actions {
        display: none;
    }
    .hero-content .title {
        font-size: 40px;
    }
    .cta-boxes {
        flex-direction: column;
        transform: translateY(20px);
    }
    .cta-section {
        margin-bottom: 200px; /* Adjusting for the overflowing cta-boxes */
    }
    .slider-btn {
        display: none !important;
    }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Delay modifiers */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* Footer Styles */
.main-footer {
    background-color: #0b1121;
    color: #a0a5b8;
    padding: 80px 0 50px;
    margin-top: 150px; /* Space for the overflowing CTA boxes */
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.brand-col {
    flex: 2;
    min-width: 300px;
    padding-right: 40px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 25px;
}

.brand-col p {
    font-size: 15px;
    line-height: 1.8;
}

.links-col h4 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 25px;
    font-weight: 600;
}

.links-col ul li {
    margin-bottom: 15px;
}

.links-col ul li a {
    color: #a0a5b8;
    font-size: 15px;
    transition: color 0.3s ease;
}

.links-col ul li a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .main-footer { margin-top: 250px; }
    .footer-container { flex-direction: column; }
}
