/* Global Reset */
@import url('https://fonts.googleapis.com/css2?family=Cairo&display=swap');
* {
    font-family: 'Cairo', sans-serif !important;
}

i {
    font-family: "Font Awesome 5 Free", "Cairo", sans-serif !important;
}
  
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}
html {
    scroll-behavior: smooth;
    
}


/* Base Styles */
:root {
    --primary-color: #194b87;
    --secondary-color: #84e3db;
    --text-color: #333;
    --white: #ffffff;
    --background: #f4f4f4;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.2);
}

body {
    background-color: var(--background);
    line-height: 1.6;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background-color: var(--white);
    box-shadow: 0 4px 15px var(--shadow-light);
    position: relative;
    z-index: 10;
    transition: box-shadow 0.3s ease-in-out;
    top: 0;
    left: 0;
    
}

.navbar.scrolled {
    box-shadow: 0 4px 20px var(--shadow-medium);
}

.logo img {
    height: 60px;
}

/* Navigation */
.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
    align-items: center;
    opacity: 0; /* Start as hidden */
    animation: fadeIn 0.5s ease-out forwards; /* Fade-in animation for nav links */
}

.nav-links li {
    position: relative;
    animation: fadeIn 0.5s ease-out forwards; /* Fade-in for each list item */
    animation-delay: 0.1s; /* Staggered delay for items */
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    font-size: 16px;
    padding: 10px 15px;
    display: block;
    transition: all 0.3s ease;
    border-radius: 5px;
    transform: scale(1); /* Normal scale */
}

/* Hover effects */
.nav-links a:hover {
    color: var(--secondary-color);
    background-color: var(--hover-background-color);
    transform: scale(1.1); /* Slight scale-up effect */
}


/* Close Button */
.close-btn {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    transform: scale(0.8); /* Initially smaller */
    animation: fadeIn 0.5s ease-out forwards, slideInFromRight 0.5s ease-out forwards; /* Add slide-in animation */
}

.nav-links.active ~ .close-btn {
    display: block;
    opacity: 1;
    transform: scale(1); /* Return to normal size */
}

/* Dropdown Menu */
.dropdown-menu {
    display: none;
    position: absolute;
    background: var(--white);
    box-shadow: 0 4px 12px var(--shadow-light);
    list-style: none;
    padding: 10px;
    top: 100%;
    left: 0;
    z-index: 1;
    border-radius: 5px;
    min-width: 200px;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(-10px);
}

/* Hover effect for dropdown */
.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: fadeIn 0.3s ease-out forwards, slideDown 0.3s ease-out forwards;
}

/* Mobile Menu Button */
.menu-toggle {
    position: fixed;
    top: 15px;
    right: 15px;
    font-size: 30px;
    cursor: pointer;
    display: block;
    z-index: 1000;
    opacity: 0;
    background-color: white;
    padding: 12px;
    border-radius: 4px;
    animation: fadeIn 0.5s ease-out forwards; /* Fade-in animation for menu toggle */
    animation-delay: 0.6s; /* Delay for smoother entry */
}

/* Mobile-Specific Styling (Media Query) */
@media (max-width: 768px) {
    /* Mobile Nav */
    .nav-links {
        display: none;
        flex-direction: column;
        gap: 20px;
        position: fixed;
        top: 0;
        right: 0; /* Position on the right */
        bottom: 0; /* Extend full height */
        width: 250px; /* Set a width for the side menu */
        background: var(--background-color);
        box-shadow: 0 4px 12px var(--shadow-light);
        padding: 40px 20px;
        z-index: 999;
        transform: translateX(100%); /* Initially off-screen on the right */
        animation: slideInFromRight 0.5s ease-out forwards;
    }

    .nav-links.active {
        display: flex;
        transform: translateX(0); /* Slide in to position */
    }

    .close-btn {
        display: block;
        opacity: 1;
        color: var(--primary-color);
        font-size: 35px;
        position: absolute;
        top: 20px;
        left: 20px; /* Position close button on the left inside the menu */
        animation: slideInFromLeft 0.5s ease-out forwards;
    }
}

/* Animation Keyframes */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-20px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideDown {
    0% {
        transform: translateY(-10px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Hero Section */
.hero-section {
    text-align: center;
    position: relative;
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
    color: var(--white);
    padding: 200px 0;
    height:500px;
    overflow: hidden;
    animation: fadeIn 1s ease-out;
    transition: background-color 0.5s ease;
}

h1 {
    font-size: 3rem;
    opacity: 0;
    animation: fadeInUp 1.2s ease-in-out forwards;
}

/* About Section */
.about_sec {
    border-radius: 10px;
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
    padding: 2rem;
    margin: 2rem;
}

.about_sec h3 {
    margin: 2rem;
    color: white;
}

.About_Us {
    display: inline-block;
    font-size: 50px;
    color: #ffffff;
    text-decoration: none;
    margin-left: 2rem;
    text-shadow: 3px 3px 5px var(--shadow-light);
}

/* Interactive Elements */
.arrows {
    margin-top: 10px;
}

.arrows button {
    background: none;
    border: 2px solid var(--white);
    font-size: 1.5rem; /* Smaller font size */
    cursor: pointer;
    color: var(--white);
    padding: 8px 16px; /* Smaller padding */
    margin: 3px; /* Smaller margin */
    transition: all 0.3s ease;
}

.arrows button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05); /* Slightly smaller scale on hover */
}


.read_more {
    padding: 1em 2em;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    letter-spacing: 5px;
    text-transform: uppercase;
    cursor: pointer;
    color: var(--primary-color);
    transition: all 0.3s ease;
    font-size: 15px;
    position: relative;
    overflow: hidden;
    outline: 2px solid var(--primary-color);
    margin-left: 2rem;
}

.read_more:hover {
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 4px 5px 17px -4px var(--primary-color);
}

.read_more::before {
    content: "";
    position: absolute;
    left: -50px;
    top: 0;
    width: 0;
    height: 100%;
    background-color: var(--secondary-color);
    transform: skewX(45deg);
    z-index: -1;
    transition: width 1s;
}

.read_more:hover::before {
    width: 250%;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -250px;
        background-color: var(--white);
        width: 250px;
        height: 100vh;
        box-shadow: -4px 0 6px var(--shadow-medium);
        text-align: center;
        padding: 20px 0;
        transition: right 0.3s ease-in-out;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .menu-toggle {
        display: block;
    }

    .contact-btn {
        display: none;
    }

    .dropdown-menu {
        position: static;
        display: none;
        width: 100%;
        box-shadow: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .hero-section {
        height: auto;
        min-height: 300px;
    }

    h1 {
        font-size: 2rem;
    }
}


.Busines_Approach {
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.Busines_Approach img {
    width: 200px;
    height: 200px;
    margin-bottom: 20px;
    position: relative;
}



.Busines_Approach h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 40px;
    position: relative;
}

.Busines_Approach h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: var(--secondary-color);
}

.Busines_Approach .Busines_Approach-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2; /* Ensure the items are above the background circle */
}

.Busines_Approach .Busines_Approach-item {
    background-color: #ffffff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
}

.Busines_Approach .Busines_Approach-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.Busines_Approach .Busines_Approach-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
}

.Busines_Approach .Busines_Approach-item h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.Busines_Approach .Busines_Approach-item p {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.6;
}


.Busines_Approach .Busines_Approach-item i {
    font-size: 3rem; /* Adjust the icon size */
    color: var(--primary-color); /* Adjust the icon color */
    margin-bottom: 20px; /* Space between the icon and the title */
    display: block; /* Make sure the icon is displayed as a block */
}
/* Devisons  */

.Devisons {
    padding: 60px 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
}



.Devisons .container {
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.Devisons h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 40px;
    position: relative;
}

.Devisons h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: var(--secondary-color);
}

.Devisons .Devisons-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2; /* Ensure the items are above the background circle */
}

.Devisons .Devisons-item {
    background-color: #ffffff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
}

.Devisons .Devisons-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.Devisons .Devisons-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
}

.Devisons .Devisons-item h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.Devisons .Devisons-item p {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.6;
}


.Devisons .Devisons-item i {
    font-size: 3rem; /* Adjust the icon size */
    color: var(--primary-color); /* Adjust the icon color */
    margin-bottom: 20px; /* Space between the icon and the title */
    display: block; /* Make sure the icon is displayed as a block */
}
/* Partners Section */
/* Partners Section */
.Partners {
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Title Styling */
.Partners h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 40px;
}

/* Partners Wrapper */
.Partners-wrapper {
    position: relative;
    overflow: hidden;
}

/* Partners Items - Horizontal Scroll */
.Partners .Partners-items {
    display: flex;
    gap: 40px; /* Increased space between the items */
    justify-content: flex-start;
    animation: scrollRight 30s linear infinite;
}

.Partners .Partners-item {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.Partners .partner-logo {
    max-width: 200px;
    max-height: 80px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.Partners .Partners-item:hover .partner-logo {
    transform: scale(1.1); /* Slight scale effect on hover */
}

/* Keyframes for Auto Scroll - Left to Right */
@keyframes scrollRight {
    0% {
        transform: translateX(0); /* Start at the beginning */
    }
    100% {
        transform: translateX(-100%); /* Move by 100% of the total width */
    }
}

/* Partners Items Container */
.Partners .Partners-items {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: scrollRight 30s linear infinite; /* Adjust speed here */
}

/* Duplicate the content inside the container */
.Partners .Partners-items:after {
    content: "";
    display: flex;
    gap: 40px;
    width: max-content;
    flex-shrink: 0; /* Prevent shrinking */
}

/* Container to ensure continuous scroll */
.Partners .Partners-items {
    display: flex;
    gap: 40px;
    animation: scrollRight 30s linear infinite;
    flex-shrink: 0; /* Prevent the container from shrinking */
}



  /* Footer Styling */
  footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 30px 20px;
    text-align: center;
    margin-top: 40px;
}

footer .footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

footer p {
    font-size: 14px;
}

footer .footer-links {
    margin-top: 10px;
}

footer .footer-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin: 0 10px;
}

footer .footer-links a:hover {
    color: var(--secondary-color);
}

/* Responsive Adjustments for Mobile */
@media (max-width: 768px) {
    footer p {
        font-size: 12px;
    }

    footer .footer-links a {
        font-size: 14px;
    }
}

/* Reset default margin and padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}




/* Section for Divisions */
.devsion-info {
    padding: 40px 20px;
    background-color: white;
    text-align:left ;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    margin: 30px 10%;
}

.devsion-info p {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 20px;
}

.devsion-info ul {
    list-style: none;
    padding-left: 0;
}

.devsion-info li {
    font-size: 1.1rem;
    color: #555;
    margin: 10px 0;
    display: flex;
    align-items: center;
}

.devsion-info li i {
    color: #003366;
    margin-right: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .devsion-info {
        margin: 20px;
    }

    .hero-section h1 {
        font-size: 2rem;
    }
}

/* About Content */
.about-content {
    padding: 50px 20px;
    background: white;
    margin: 20px auto;
    max-width: 900px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}



.about-content .btn:hover {
    background: #0056b3;
}

/* Mission & Vision Section */
.mission-vision {
    padding: 80px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Section Heading */
.mission-vision h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 40px;
    position: relative;
}

.mission-vision h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: var(--secondary-color);
}

/* Mission & Vision Items Grid */
.mission-vision .mission-vision-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    position: relative;
    z-index: 2;
}

/* Individual Cards */
.mission-vision .card {
    background-color: #ffffff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
}

/* Hover Effect */
.mission-vision .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

/* Icons */
.mission-vision .card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
}

/* Headings */
.mission-vision .card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Text */
.mission-vision .card p {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.6;
}

/* Responsive Fix for Small Screens */
@media (max-width: 768px) {
    .mission-vision .mission-vision-items {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}



/* Values Section */
.values {
    padding: 50px 20px;
    background: white;
    margin: 20px auto;
    max-width: 900px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.values h2 {
    margin-bottom: 20px;
}

.values ul {
    list-style: none;
    padding: 0;
}

.values li {
    font-size: 1.1rem;
    margin: 10px 0;
    display: flex;

    gap: 10px;
}

.values li i {
    color: #007bff;
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .mission-vision {
        flex-direction: column;
        align-items: center;
    }

    .mission-vision .card {
        width: 100%;
        max-width: 90%;
    }
}

/* Contact Us Section */
.contact-us {
    padding: 80px 20px;
    text-align: center;
    background-color: #f9f9f9;
}

.contact-us h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-us p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
}

/* Contact Details */
.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.contact-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.contact-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-item h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Social Media Links */
.social-media {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-media a {
    font-size: 1.8rem;
    color: #fff;
    background: var(--primary-color);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s ease;
}

.social-media a:hover {
    background: var(--secondary-color);
}


/* Milestone Section */
.milestone {
    background: linear-gradient(to right, #6AB3E7, #78C4D4);
    padding: 80px 20px;
    text-align: left;
    color: #fff;
}

.milestone h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.timeline {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 20px;
}

.year {
    font-size: 1.2rem;
    opacity: 0.5;
    transition: opacity 0.3s, transform 0.3s;
    cursor: pointer;
}

.year.active {
    opacity: 1;
    background: #fff;
    color: #2B6CB0;
    padding: 5px 15px;
    border-radius: 25px;
    font-weight: bold;
    transform: scale(1.1);
}

.milestone-content {
    font-size: 1.4rem;
    font-weight: 500;
}
