@charset "UTF-8";

/* Hero Section */
.services-hero {
    position: relative;
    height: 60vh;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.services-hero .container {
    position: relative;
    width: 100%;
    height: 100%;
    background: url('assets/our_services.jpg') no-repeat center center/cover;
    overflow: hidden;
     display: flex;
    align-items: center;
    justify-content: center;
}



.services-hero .background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.55); /* 🔹 black shadow effect */
    z-index: 1;
}

.services-hero .content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
    color: #fff;
    text-align: center;
}

.services-hero .overlay {
    background: #282840;
    width: 100%;
    height: 100%;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}
	

.services-hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #f9cc5a;
}

.services-hero p {
    font-size: 1.2rem;
    color: #ddd;
}

/* Services Section */
.services-list-section {
    background-color: #1c1c2b;
    padding: 80px 20px;
    color: #f1f1f1;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #f9cc5a;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: "";
    width: 80px;
    height: 4px;
    background-color: #00d4ff;
    display: block;
    margin: 10px auto 0;
    border-radius: 2px;
}

.subsection {
    margin-bottom: 60px;
}

.subsection-title {
    text-align: center;
    font-size: 2rem;
    color: #00d4ff;
    margin-bottom: 30px;
    position: relative;
}

.subsection-title::after {
    content: "";
    width: 60px;
    height: 3px;
    background-color: #f9cc5a;
    display: block;
    margin: 10px auto 0;
    border-radius: 2px;
}


/* Cards */
.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.company-card {
    background-color: #2a2a3d;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    text-align: center;
}

.company-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 212, 255, 0.3);
}

.company-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.company-link {
    color: #00d4ff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.company-link:hover {
    color: #f9cc5a;
}

.company-card p {
    color: #ccc;
    font-size: 0.95rem;
    margin-top: 10px;
}

/* Animations */
.company-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards;
}

.company-card:nth-child(odd) {
    animation-delay: 0.3s;
}

.company-card:nth-child(even) {
    animation-delay: 0.5s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .services-hero h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }
}
