
/* Hero Section */
.atmag-hero {
    background: url('../assets/images/arabtech/bg2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.74); /* adjust opacity as needed */
    z-index: 1;
}

.hero-card {
    background: rgba(255,255,255,0.9);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    transform: translateY(0);
    transition: transform 0.5s ease;
}

.hero-card:hover {
    transform: translateY(-10px);
}

.hero-card .card-body {
    padding: 2rem;
}

.hero-card .card-title {
    color: #660000;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-card .card-text {
    color: #555;
    margin-bottom: 1.5rem;
}

.achievement-badge {
    background: #640000;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    display: inline-block;
    font-weight: 600;
}

.achievement-badge span {
    font-weight: 800;
    font-size: 1.2em;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0) translateX(-50%);}
    40% {transform: translateY(-20px) translateX(-50%);}
    60% {transform: translateY(-10px) translateX(-50%);}
}

/* -------------------------------About Section ---------------------------------*/
.about-image-container {
    position: relative;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: #6d0000;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.experience-badge span {
    font-size: 2rem;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: #770000;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-title.text-white:after {
    background: #fff;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(26, 62, 140, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #660000;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-text h5 {
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.feature-text p {
    margin-bottom: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* --------------------------------------Expertise Section -----------------------------*/
.expertise-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.145);
    height: 100%;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.card-floating-icon {
    position: absolute;
    top: 10px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #770000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.expertise-card .card-body {
    padding: 2rem 1.5rem 1.5rem;
    margin-top: 30px;
}

.expertise-card .card-title {
    color: #740000;
    font-weight: 700;
    margin-bottom: 1rem;
}

.expertise-features {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.expertise-features li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 0.5rem;
}

.expertise-features li:before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #8c1a1a;
}

/*--------------------------------- Projects Section ------------------------------------*/
#projects{
    background-color: #640000;
}
.project-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-8px);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.567);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-info {
    padding: 1.5rem;
}

.project-title {
    color: rgb(59, 55, 55);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #505050;
}

.project-desc {
    color: #808080;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ------------------------- Captcha ------------------------------------------ */
.cta-section {
    background: url('../assets/images/arabtech/cta-bg.jpg') no-repeat center center/cover;
    padding: 6rem 0;
    position: relative;
}

.cta-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Dark transparent overlay */
    z-index: 1;
}

.cta-section .container {
    position: relative;
    z-index: 2; /* Bring content above overlay */
}


/*--------------------------------- Responsive Adjustments -----------------------------*/
@media (max-width: 992px) {
    .atmag-hero {
        min-height: auto;
        padding: 100px 0;
    }
    
    .hero-btns .btn {
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .atmag-hero h1 {
        font-size: 2.5rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.py-6 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.min-vh-80 {
    min-height: 80vh;
}