/* Custom CSS for Al-Anma Company */
@font-face {
  font-family: creqular;
src: url(../css/Cairo-Regular.ttf);
}

@font-face {
  font-family: cbold;
src: url(../css/Cairo-Bold.ttf);
}
:root {
    --primary-color: #1e3a8a;
    --secondary-color: #3b82f6;
    --accent-color: #5186c3 ;
    --light-blue: #dbeafe;
    --dark-blue: #1e40af;
    --white: #ffffff;
    --gray: #6b7280;
    --light-gray: #f3f4f6;
    --navbar-bg: #60a5fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: creqular;
    line-height: 1.6;
    color: #333;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--navbar-bg), var(--secondary-color));
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent-color) !important;
    transform: translateY(-2px);
}

/* .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
} */

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}
.navbar h3 {
    position: absolute;
    left: 50%;
    top:-10px;
    transform: translateX(-50%);
    margin: 0;
    font-size: 1.5rem;
    color: white;
    white-space: nowrap;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7), 
                 0 0 10px rgba(255, 255, 255, 0.2);
font-family: cbold;
    
    letter-spacing: 1px;
    text-transform: uppercase;
    perspective: 500px;
    transform-style: preserve-3d;
    animation: floatHeading 3s ease-in-out infinite;
}
/* Wrapper centers the heading */
.navbar-heading-wrapper {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

/* H3 styled with 3D and animation */
.navbar-heading {
    font-size: 1.5rem;
    color: white;
    white-space: nowrap;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7),
                 0 0 10px rgba(255, 255, 255, 0.2);
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: floatHeading 3s ease-in-out infinite;
    transform-style: preserve-3d;
}

@keyframes floatHeading {
    0%, 100% {
        transform: translateX(-50%) translateZ(0px);
    }
    50% {
        transform: translateX(-50%) translateZ(20px);
    }
}


/* Hero Section */
.hero-section {
    margin-top: 76px;
}

.hero-section-about,
.hero-section-contact {
    margin-top: 76px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section-about::before,
.hero-section-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.carousel-item {
    height: 80vh;
    position: relative;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    filter: brightness(0.7);
}

.carousel-caption {
    background: rgba(30, 58, 138, 0.8);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    max-width: 600px;
    margin: 0 auto;
}

.carousel-caption h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--white);
}

.carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--light-blue);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(6, 182, 212, 0.3);
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

/* Section Titles */
.section-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    position: relative;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    border-radius: 2px;
}

/* About Section */
#about {
    background: linear-gradient(135deg, var(--white), var(--light-blue));
}

.feature-box {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-color: var(--accent-color);
}

.feature-box i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.feature-box h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Services Section */
.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-color: var(--secondary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Projects Section */
.project-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.9), rgba(59, 130, 246, 0.9));
    color: var(--white);
    padding: 2rem;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.project-card:hover .project-overlay {
    transform: translateY(0);
}

.project-overlay h4 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* Clients Section */
.client-logo {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.client-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.client-logo i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.client-logo h5 {
    color: var(--primary-color);
    font-weight: 600;
}

/* About Us Page Specific Styles */
.achievement-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.achievement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-color: var(--accent-color);
}

.achievement-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.achievement-card h3 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.vision-mission-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 100%;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.vision-mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-color: var(--secondary-color);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.card-icon i {
    font-size: 2rem;
    color: var(--white);
}

.vision-mission-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
    text-align: center;
}

.vision-mission-card ul {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.vision-mission-card ul li {
    padding: 0.5rem 0;
    position: relative;
    padding-right: 1.5rem;
}

.vision-mission-card ul li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.value-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-color: var(--accent-color);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
}

.value-icon i {
    font-size: 2rem;
    color: var(--white);
}

.team-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-color: var(--secondary-color);
}

.team-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.team-avatar i {
    font-size: 3rem;
    color: var(--white);
}

.certificate-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.certificate-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-color: var(--accent-color);
}

.certificate-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* Contact Page Specific Styles */
.contact-info {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--white);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-left: 1rem;
    width: 30px;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form .form-control,
.contact-form .form-select {
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(6, 182, 212, 0.25);
}

.contact-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-color: var(--accent-color);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.contact-icon i {
    font-size: 2rem;
    color: var(--white);
}

.working-hours {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.working-day {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.working-day:last-child {
    border-bottom: none;
}

.working-day .day {
    font-weight: 600;
    color: var(--primary-color);
}

.working-day .time {
    color: var(--gray);
}

.emergency-contact {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    border-radius: 10px;
    color: var(--white);
}

.emergency-contact h5 {
    margin-bottom: 1rem;
}

.emergency-contact i {
    color: var(--white);
    margin-left: 0.5rem;
}

.customer-service {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.service-item:hover {
    background: var(--light-blue);
    transform: translateX(-10px);
}

.service-item i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-left: 1rem;
    width: 50px;
}

.service-item h5 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.social-card {
    display: block;
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    text-align: center;
    height: 100%;
    border: 2px solid transparent;
}

.social-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    text-decoration: none;
    color: inherit;
}

.social-card.facebook:hover {
    border-color: #1877f2;
}

.social-card.twitter:hover {
    border-color: #1da1f2;
}

.social-card.linkedin:hover {
    border-color: #0077b5;
}

.social-card.instagram:hover {
    border-color: #e4405f;
}

.social-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.social-card.facebook i {
    color: #1877f2;
}

.social-card.twitter i {
    color: #1da1f2;
}

.social-card.linkedin i {
    color: #0077b5;
}

.social-card.instagram i {
    color: #e4405f;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-blue));
    color: var(--white);
}

.footer h5 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer a {
    color: var(--light-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--accent-color);
}

.footer i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float a:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
    color: var(--white);
}

@keyframes pulse {
    0% {
        box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    }
    50% {
        box-shadow: 0 5px 25px rgba(37, 211, 102, 0.6);
    }
    100% {
        box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .carousel-caption h1 {
        font-size: 2rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float a {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .contact-form-wrapper {
        padding: 2rem 1rem;
    }
    
    .working-day {
        flex-direction: column;
        text-align: center;
    }
    
    .working-day .time {
        margin-top: 0.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

.about-images-stack {
    gap: 1.5rem;
    align-items: center;
}

.about-img-stack {
    max-width: 320px;
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(30, 58, 138, 0.10), 0 1.5px 8px rgba(59, 130, 246, 0.10);
    border: 4px solid var(--white);
    transition: transform 0.3s, box-shadow 0.3s;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.about-img-stack:hover {
    transform: scale(1.04) rotate(-1deg);
    box-shadow: 0 16px 40px rgba(30, 58, 138, 0.18), 0 3px 16px rgba(59, 130, 246, 0.18);
    z-index: 2;
}

@media (max-width: 991px) {
    .about-images-stack {
        margin-bottom: 2rem;
    }
    .about-img-stack {
        max-width: 220px;
    }
}

@media (max-width: 576px) {
    .about-img-stack {
        border-radius: 12px;
        max-width: 100%;
    }
}

.moving-slider-wrapper {
    overflow: hidden;
    width: 100%;
    background: var(--light-blue);
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(30, 58, 138, 0.07);
    padding: 10px 0;
    position: relative;
}

.moving-slider-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: moveSlider 30s linear infinite;
    gap: 2rem;
}

.moving-slider-img {
    height: 90px;
    width: auto;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.10);
    border: 2px solid var(--white);
    background: var(--white);
    transition: transform 0.3s, box-shadow 0.3s;
    margin: 0 8px;
}

.moving-slider-img:hover {
    transform: scale(1.08) rotate(-2deg);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.18);
    z-index: 2;
}

@keyframes moveSlider {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .moving-slider-img {
        height: 60px;
    }
    .moving-slider-wrapper {
        border-radius: 10px;
    }
}

#lightbox-overlay {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(30, 41, 59, 0.85);
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s;
}

#lightbox-overlay.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    background: transparent;
    border-radius: 18px;
    box-shadow: 0 8px 40px rgba(30, 58, 138, 0.25);
    padding: 0;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#lightbox-img {
    max-width: 80vw;
    max-height: 80vh;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(59, 130, 246, 0.18);
    background: var(--white);
}

.lightbox-close {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.5rem;
    color: #fff;
    background: rgba(30, 41, 59, 0.85);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s;
    border: 2px solid #fff;
}

.lightbox-close:hover {
    background: #e11d48;
    color: #fff;
}

@media (max-width: 768px) {
    #lightbox-img {
        max-width: 96vw;
        max-height: 60vh;
    }
    .lightbox-close {
        top: -20px;
        font-size: 2rem;
        width: 36px;
        height: 36px;
    }
} 