
:root {
    --primary-color: #254898;
    --secondary-color: #53c8e6;
    --primary-dark: #233f92;
    --secondary-light: #1dc1e2;
    --gray-text: #606161;
    --light-gray: #828282;
}
body{
    overflow-x: hidden;
    font-family: 'Tajawal', sans-serif;
}


.hero-about-section {
    background-image: linear-gradient(rgba(29, 109, 152, 0.9), rgba(15, 107, 164, 0.9)), url('./pic/kafaa.jpg');    background-color: #1783ad;
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0;
    position: relative;
    text-align: center;
}

.hero-about-section h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.hero-about-section p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.features-section {
    padding: 60px 0;
}

.feature-card {
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 25px;
    height: 100%;
    transition: all 0.3s;
    text-align: center;
}

.feature-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature-icon {
    color: var(--secondary-color);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.feature-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.feature-text {
    color: var(--gray-text);
    font-size: 0.95rem;
    line-height: 1.6;
}

.process-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.process-step {
    margin-bottom: 15px;
}

.process-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.process-text {
    color: var(--gray-text);
}

.services-section {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: white;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    height: 100%;
    transition: all 0.3s;
    text-align: center;
    margin-bottom: 20px;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.service-icon {
    color: var(--secondary-color);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.service-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.service-text {
    color: var(--gray-text);
    font-size: 0.9rem;
}

.cta-section {
    padding: 60px 0;
    text-align: center;
    background-color: #f8f8f8;
}

.cta-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-btn {
    background-color: var(--secondary-color);
    color: white;
    padding: 10px 30px;
    border-radius: 5px;
    border: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s;
}

.cta-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0 30px;
}

.footer-logo {
    max-height: 60px;
    margin-bottom: 20px;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-contact {
    margin-bottom: 10px;
}

.footer-contact i {
    margin-left: 10px;
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 40px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
}


/* Added custom styles to keep items inline at medium sizes */
.navbar-items-wrapper {
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 100%;
}

/* Phone number styling adjustments */
.phone-number {
    padding: 5px;
    font-size: 14px;
    white-space: nowrap;
}

/* Adjusted phone icon spacing */
.phone-icons {
    margin-right: 3px;
}

/* Fixed navigation links */
.main-nav-links .nav-link {
    white-space: nowrap;
    text-wrap: nowrap;
}

/* Ensure links stay in one line */
.navbar-nav .nav-item {
    display: inline-block;
}

/* Media queries with updated responsive styles */
@media screen and (max-width: 1200px) {
    .phone-icon {
        width: 22px;
        height: 22px;
    }
    .phone-number {
        font-size: 16px;
    }
}
@media screen and (max-width: 991px) {
    /* Convert navbar links to column in mobile view */
    .navbar-collapse .navbar-nav {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    
    .navbar-nav .nav-item {
        width: 100%;
        margin: 5px 0;
        display: block; /* Override inline-block for mobile */
    }
    
    .main-nav-links .nav-link {
        display: block;
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .navbar {
        padding: 12px 20px;
    }
    .logo {
        font-size: 20px;
    }
    .phone-icon {
        width: 20px;
        height: 20px;
    }
    .phone-number {
        font-size: 15px;
    }
    .nav-links {
        gap: 15px;
    }
}
@media screen and (max-width: 480px) {
    .logo {
        font-size: 18px;
    }
    .phone-icon {
        width: 18px;
        height: 18px;
    }
    .phone-number {
        font-size: 14px;
    }
    .phone-container {
        position: static;
        transform: none;
        margin-right: 15px;
    }
    .menu-toggle {
        display: block;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #003366;
        flex-direction: column;
        padding: 15px;
        z-index: 100;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links li {
        margin: 10px 0;
    }
    /* Keep navbar items inline until very small screens */
    .navbar-items-wrapper {
        flex-wrap: nowrap;
    }
    
    /* Reduce phone button size on smaller screens */
    .phone-number {
        padding: 3px;
        font-size: 13px;
    }
    
    .phone-icons svg {
        width: 14px;
        height: 14px;
    }
}
/* Only at very small screens, stack the navbar items */
@media screen and (max-width: 360px) {
    .navbar-items-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
    .phone-number {
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .navbar-toggler {
        margin-left: 0 !important;
    }
}
@media screen and (max-width: 320px) {
    .navbar {
        padding: 10px 15px;
    }
    .logo {
        font-size: 16px;
    }
    .phone-icon {
        width: 16px;
        height: 16px;
    }
    .phone-number {
        font-size: 12px;
    }
    .phone-container {
        margin-right: 10px;
    }
}

.section-dark-title {
    text-align: center;
    color: #ffffff;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.section-dark-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-dark-blue), var(--primary-light-blue));
    border-radius: 2px;
}