:root {
    --primary-color: #453a54;
    /* Logo Purple */
    --secondary-color: #75757a;
    /* Logo Slate */
    --accent-color: #C0C0C0;
    /* Silver */
    --text-color: #333333;
    --light-bg: #f4f7f6;
    --white: #ffffff;
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

ul {
    list-style: none;
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

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

.logo img {
    height: 50px;
    width: auto;
}

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

.nav-list a {
    font-weight: 500;
    color: var(--primary-color);
    transition: var(--transition);
}

.nav-list a:hover {
    color: var(--secondary-color);
}

.btn-contact {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 5px;
}

.btn-contact:hover {
    background-color: var(--secondary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: url('public/assets/img2.jpg');
    /* Using machine image as background */
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 80px;
    /* Header height */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(69, 58, 84, 0.7);
    /* Purple overlay */
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    text-align: center;
    max-width: 800px;
}

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

.hero .highlight {
    color: #a394ba;
}

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background-color: var(--light-bg);
    transform: translateY(-2px);
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--white);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text .lead {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.about-text p {
    margin-bottom: 15px;
    color: #555;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Security Section */
.security {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.security h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 50px;
    color: #666;
}

.security-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: nowrap;
    /* Force single line */
    overflow-x: auto;
    /* Allow scroll on very small screens if absolutely necessary, though goal is single line */
}

.security-card {
    background: var(--white);
    padding: 20px 10px;
    /* Reduced padding */
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    flex: 1;
    /* Distribute space evenly */
    min-width: 0;
    /* Allow shrinking */
}

.security-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.security-card i {
    font-size: 2rem;
    /* Smaller icon */
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.security-card h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
    font-size: 1rem;
    /* Smaller title */
}

.security-card p {
    font-size: 0.85rem;
    /* Smaller text */
    line-height: 1.4;
}

/* Certifications */
.certifications {
    padding: 50px 0;
    background-color: var(--primary-color);
    color: var(--white);
}

.certifications h2 {
    text-align: center;
    margin-bottom: 40px;
}

.cert-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.cert-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.cert-item i,
.cert-item ion-icon {
    font-size: 4rem;
    color: #FFEA00;
    /* Bright Yellow */
}

.cert-item span {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Portfolio */
.portfolio {
    padding: 80px 0;
}

.portfolio h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Portfolio Carousel */
.portfolio {
    padding: 80px 0;
    overflow: hidden;
    /* Hide scrollbar if needed */
}

.portfolio h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1000px;
    /* Limit width to keep cards smaller */
    margin: 0 auto;
}

.portfolio-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 10px;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE 10+ */
    scroll-snap-type: x mandatory;
}

.portfolio-carousel::-webkit-scrollbar {
    display: none;
    /* Chrome Safari */
}

.portfolio-item {
    flex: 0 0 250px;
    /* Fixed width for smaller cards */
    height: 160px;
    /* Fixed height */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    scroll-snap-align: center;
    transition: var(--transition);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Ensure whole card is visible */
    background-color: #f0f0f0;
    /* Background for transparent pngs if any */
}

.portfolio-item:hover {
    transform: scale(1.05);
}

.carousel-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
    z-index: 10;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background-color: var(--secondary-color);
}

.prev-btn {
    margin-right: 10px;
}

.next-btn {
    margin-left: 10px;
}

/* Providers */
.providers {
    padding: 60px 0;
    background-color: var(--white);
    border-top: 1px solid #eee;
}

.providers h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.providers-grid {
    display: flex;
    justify-content: center;
    /* Center the items */
    align-items: center;
    gap: 40px;
    flex-wrap: nowrap;
    /* Force single line as requested */
    overflow-x: auto;
    /* Allow scroll if screen is too small */
}

.providers-grid img {
    height: 60px;
    /* Fixed height to keep them uniform */
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    /* Optional: makes them look uniform/professional */
    opacity: 0.7;
    transition: var(--transition);
}

.providers-grid img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* Contact */
.contact {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.contact-info h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-details {
    margin-top: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-top: 5px;
}

.contact-item h4 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.contact-form-container {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form-container h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 25px;
    /* Increased spacing between groups */
    display: flex;
    flex-direction: column;
    /* Explicitly force vertical stacking */
}

.form-group label {
    margin-bottom: 8px;
    /* More space between label and input */
    font-weight: 600;
    /* Bolder label */
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: var(--font-main);
    font-size: 1rem;
    background-color: #f9f9f9;
}

.form-group textarea {
    min-height: 150px;
    /* Force larger height */
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.contact-map-full iframe {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    background-color: #231d2a;
    color: var(--white);
    padding: 20px 0;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        padding: 0 15px;
    }

    .nav-list {
        display: none;
        /* Mobile menu hidden by default */
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-list.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
        /* Image on top on mobile */
    }
}