/* General Styling */

.heros {
    background-color: #03172c;
    color: #ffffff;
    padding: 80px 0;
}
.container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

.text-center {
    text-align: center;
}

.lead {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
    font-weight: 300;
}
.leads {
    font-size: 2rem;
    color: #555;
    margin-bottom: 0px;
    font-weight: 300;
}

.leades{
    font-size: 3rem;
    color: #555;
    margin-bottom: 10px;
    font-weight: 300;
}
/* Steps Section */
.steps {
    position: relative;
    margin: 50px 0;
    padding: 20px;
}

/* Spine Line */
.steps::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: #c7eeee;
    z-index: 0;
    border-radius: 2px;
    animation: spinePulse 2s infinite alternate;
}

/* Timeline Items */
.timeline {
    display: flex;
    align-items: center;
    margin: 20px 0;
    position: relative;
    flex-wrap: wrap;
}

.timeline.left {
    justify-content: flex-end;
}

.timeline.right {
    justify-content: flex-start;
}

.timeline-content {
    width: 40%;
    position: relative;
    padding: 18px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 25px;
    background: #c7eeee;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.timeline-content .number {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    background: #72e5e5;
    color: #fff;
    font-size: 1.3rem;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1;
    animation: bounce 1.8s infinite ease-in-out;
}

.timeline.left .number {
    right: -65px;
}

.timeline.right .number {
    left: -65px;
}

.timeline-content .inner-content {
    background: #fff;
    padding: 22px;
    border-radius: 12px;
    border: 2px solid #ff9800;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: slideIn 0.8s ease;
}

.timeline-content:hover .inner-content {
    transform: scale(1.05);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
    border-color: #8bc34a;
}

.timeline-content .title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 12px;
    color: #333;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.timeline-content .description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

/* Connecting Dot at Each Step */
.timeline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: #72e5e5;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    animation: pulse 1.8s infinite;
}

/* Animations */
@keyframes fadeInSlide {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(-5px);
    }
    50% {
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes spinePulse {
    0% {
        box-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
    }
    100% {
        box-shadow: 0 0 10px rgba(255, 152, 0, 0.5);
    }
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .timeline-content {
        width: 45%;
    }

    .timeline.left .number,
    .timeline.right .number {
        left: -50px;
        right: -50px;
    }
}

@media screen and (max-width: 768px) {
    .timeline {
        flex-direction: column;
        justify-content: center;
    }

    .timeline.left,
    .timeline.right {
        justify-content: center;
    }

    .timeline-content {
        width: 90%;
        text-align: center;
    }

    .timeline-content .number {
        position: relative;
        left: auto;
        right: auto;
        margin-bottom: 15px;
    }

    .steps::before {
        left: 0;
        width: 2px;
    }

    .lead {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    .timeline-content .title {
        font-size: 1.4rem;
    }

    .timeline-content .description {
        font-size: 0.95rem;
    }

    /* Hide Spine Dots on Small Screens */
    .timeline::before {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    .timeline-content {
        width: 100%;
        padding: 15px;
    }

    .timeline-content .number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .timeline-content .title {
        font-size: 1.3rem;
    }

    .timeline-content .description {
        font-size: 0.9rem;
    }

    .steps::before {
        display: none;
    }

    /* Hide Spine Dots on Small Screens */
    .timeline::before {
        display: none;
    }
}
/* Set a background color for the body */


/* Content container to hold all sections */
.content-container {
    display: flex;  /* Flexbox layout */
    flex-wrap: wrap;  /* Allow wrapping to next row */
    justify-content: space-evenly; /* Distribute sections evenly */
    padding: 20px;
}

/* Styling for each section container */
.section {
    background-color: white;  /* White background for each section */
    border-radius: 8px;  /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);  /* Subtle shadow */
    width: 30%;  /* Set width of each section */
    margin: 10px;  /* Margin between sections */
    padding: 15px;
    box-sizing: border-box; /* Ensure padding doesn't affect width */
    transition: all 0.3s ease;  /* Smooth transition effect */
    background-color: #ffffff;  /* Default background */
}

/* Section 1 Background Color */
.section:nth-child(odd) {
    background-color: #ffedc2;  /* Light yellow */
}

/* Section 2 Background Color */
.section:nth-child(even) {
    background-color: #f0f8ff;  /* Light blue */
}

/* Add hover effect for sections */
.section:hover {
    transform: translateY(-5px);  /* Slight lift effect on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);  /* Stronger shadow on hover */
}

/* Styling for the header inside each section */
.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.section-header img {
    width: 30px;  /* Set icon size */
    height: 30px;
    margin-right: 10px;
}

.section-header h3 {
    font-size: 16px;  /* Smaller font size */
    margin: 0;
    color: #2d2d2d;  /* Darker color for text */
}

/* Section Header Link */
.section-header h3 a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

/* Header Link Hover Effect */
.section-header h3 a:hover {
    color: #ff4d00;  /* Color on hover */
}

/* List styling inside each section */
.section-list {
    list-style-type: none;  /* Remove list bullets */
    padding: 0;
    margin: 0;
}

/* List Item Styling */
.section-list li {
    font-size: 14px;  /* Smaller font size */
    margin-bottom: 8px;
}

/* Link Styling */
.section-list li a {
    text-decoration: none;
    color: #333;
}

/* List Link Hover Effect */
.section-list li a:hover {
    color: #ff4d00;  /* Color on hover */
    text-decoration: underline;  /* Underline text on hover */
}

/* Make the sections responsive */
@media (max-width: 768px) {
    .section {
        width: 45%;  /* Increase width for medium screens */
    }
}

@media (max-width: 480px) {
    .section {
        width: 100%;  /* Full width for small screens */
    }
}

/* Add animations to hover effects */
@keyframes hoverAnimation {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0);
    }
}

.section:hover {
    animation: hoverAnimation 0.3s ease-in-out;
}

/* Add background color to hover for list items */
.section-list li:hover {
    background-color: #f8f8f8;  /* Light background when hovering over list item */
    border-radius: 5px;  /* Rounded corners for list items on hover */
}


/*second css*/
/* Flex container for the boxes */
.box-container {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping to next line for smaller screens */
    justify-content: space-between; /* Distributes space evenly between boxes */
    gap: 15px; /* Reduced gap between boxes */
    margin: 20px auto; /* Add vertical margin and center the container */
    padding: 10px 20px; /* Add padding for spacing inside the container */
    max-width: 1200px; /* Limit container width */
}

/* Individual box items */
.box-item {
    flex: 1; /* Flexible resizing */
    min-width: 45%; /* Minimum width to maintain two boxes side by side */
    max-width: 48%; /* Optional: Restricts maximum width */
    margin: 10px 0; /* Vertical margin for rows of boxes */
    display: flex;
    justify-content: center;
    background: #c7eeee; /* Gradient background for the box */
    border-radius: 12px;
    padding: 10px;
    opacity: 1; /* Ensure full opacity */
    transform: translateY(20px); /* Slightly off-screen for animation effect */
    animation: fadeInUp 0.6s forwards; /* Apply the fade-in-up animation */
    animation-delay: 0.2s; /* Delay for staggered animation */
}

/* Animation for fade-in and slide-up */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Box content styling */
.box-content {
    width: 100%;
    background: #ffffff; /* White background for content */
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Added transition */
}

/* Title styling */
.box-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    text-align: center;
}

/* Description styling */
.box-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    text-align: justify;
}

/* Hover effect for boxes */
.box-item:hover {
    transform: scale(1.05); /* Scale up the box on hover */
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1); /* Enhanced shadow on hover */
}

/* Box content hover effect */
.box-content:hover {
    transform: translateY(-5px); /* Slightly lift content on hover */
    box-shadow: 0px 12px 24px rgba(0, 0, 0, 0.15); /* Enhanced shadow */
}

/* Responsive Design */
@media (max-width: 768px) {
    .box-item {
        flex: 1 1 100%; /* Boxes will take full width on smaller screens */
        min-width: 100%;
        max-width: 100%;
    }

    .box-title {
        font-size: 1.4rem;
    }

    .box-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .box-container {
        gap: 10px; /* Smaller gap for mobile screens */
        padding: 10px; /* Reduce side padding for smaller devices */
    }

    .box-content {
        padding: 15px; /* Reduce padding on smaller screens */
    }

    .box-title {
        font-size: 1.3rem;
    }

    .box-description {
        font-size: 0.85rem;
    }
}
/*third css*/
/* Flex container for centering the box horizontally */
.centered-box-container {
    display: flex;
    justify-content: center; /* Center horizontally */
    margin: 0 auto; /* Ensure it takes the full available width */
    padding: 0; /* No padding */
}

/* Individual centered box item */
.centered-box-item {
    display: flex;
    justify-content: center; /* Center content inside the box */
    background: #c7eeee ; /* Gradient background for the box */
    border-radius: 12px;
    padding: 20px;
    width: 100%; /* Take full width available */
    max-width: 1000px; /* Increased the box width to 1000px */
    height: auto; /* Allow the height to adjust automatically */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); /* Stronger shadow effect */
}

/* Box content styling */
.centered-box-content {
    width: 100%;
    background: #ffffff; /* White background for content */
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* Stronger shadow around the content */
    padding: 10px 20px; /* Reduced padding to decrease height further */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Title styling */
.centered-box-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    text-align: center;
}

/* Description styling */
.centered-box-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    text-align: justify;
}

/* Hover effect for the centered box item */
.centered-box-item:hover {
    transform: scale(1.05);
    box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.4); /* Increased shadow on hover */
    border-color: #8bc34a;
}

/* Responsive Design */
@media (max-width: 768px) {
    .centered-box-item {
        flex: 1 1 100%; /* Boxes will take full width on smaller screens */
        min-width: 100%;
        max-width: 100%;
    }

    .centered-box-title {
        font-size: 1.4rem;
    }

    .centered-box-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .centered-box-container {
        gap: 10px; /* Smaller gap for mobile screens */
        padding: 10px; /* Reduce side padding for smaller devices */
    }

    .centered-box-content {
        padding: 15px; /* Reduce padding on smaller screens */
    }

    .centered-box-title {
        font-size: 1.3rem;
    }

    .centered-box-description {
        font-size: 0.85rem;
    }
}
