/* General Reset */
header.hero {
    background: linear-gradient(135deg, #FFD400, #FF8C00); /* Gradient from #FFD400 (yellow) to #FF8C00 (orange) */
    color: white;
    text-align: center;
    padding: 100px 20px;
    position: relative;
}

/* Overlay for better text readability */
header.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3); /* Darker overlay to increase contrast for readability */
    z-index: 1;
}

header.hero .hero-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    z-index: 2;
}

header.hero h1 {
    font-size: 3.5em; /* Adjusted for better visibility */
    margin: 0 0 10px;
    color: #FFF;
    font-weight: bold;
}

header.hero p {
    font-size: 1.6em;
    color: #FFF;
    font-weight: 200;
}

header.hero a {
    display: inline-block;
    padding: 12px 25px;
    margin-top: 20px;
    background-color: #FF8C00; /* Button background color */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

header.hero a:hover {
    background-color: #E67E00; /* Slightly darker shade on hover */
}






/* Main Content */
main {
    padding: 0 20px;
    /* max-width: 1200px; */
    margin: 0 auto;
}

/* Section Styling */
section.legacy {
    background-color: #f7f7f7;  /* Soft background color */
    padding: 60px 20px;
    text-align: center;
}

/* Legacy Content Box */
.legacy-content {
    max-width: 900px;
    margin: 0 auto;
    background-color: #ffffff;  /* White background for content box */
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Heading Styling */
.legacy h2 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Paragraph Styling */
.legacy p {
    font-size: 1.1em;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: justify;
}

/* Link Styling */
.outbound-tag {
    color: #FFD400;  /* Primary color */
    font-weight: 600;
    text-decoration: none;
}

.outbound-tag:hover {
    text-decoration: underline;
}

/* Animation for text */
.legacy-content p {
    opacity: 0;
    animation: fadeIn 1.5s forwards;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .legacy h2 {
        font-size: 2em;
    }

    .legacy p {
        font-size: 0.875em;
    }
}

/* Section Styling */
section.offerings {
    padding: 60px 20px;
    background-color: #f4f4f4; /* Soft background color */
    text-align: center; /* Align section content */
}

/* Heading Styling */
.offerings h2 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 40px;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center; /* Ensures h2 is centered */
}

/* Card Layout */
.offerings-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Default to 3 columns */
    gap: 30px;
    justify-items: center;
    max-width: 1200px; /* Max width for large screens */
    margin: 0 auto; /* Center the grid */
}

/* Individual Offering Card */
.offering-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center; /* Ensure content in card is centered */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content horizontally */
    justify-content: space-between; /* Align items evenly */
    height: 350px; /* Ensure all cards have the same height */
    display: flex; /* Use flexbox to help with alignment */
    flex-direction: column;
}

/* Offering Icon Styling */
.offering-icon {
    margin-bottom: 20px;
    font-size: 60px; /* Larger Font Awesome icon size */
    color: #FFD400; /* Primary color for icons */
    flex-shrink: 0; /* Prevent the icon from shrinking */
}

/* Offering Title */
.offering-card h3 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
    text-align: center; /* Ensure h3 is centered within card */
    flex-grow: 0; /* Prevent the title from growing too much */
}

/* Offering Description */
.offering-card p {
    font-size: 1em;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center; /* Ensure description is centered */
    flex-grow: 1; /* Allow the description to take up remaining space */
}

/* Hover Effect for Cards */
.offering-card:hover {
    transform: translateY(-5px); /* Slightly lifts the card on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Enhances the shadow on hover */
}

/* Ensuring consistent alignment of icon, title, and paragraph */
.offering-card > .offering-icon,
.offering-card h3,
.offering-card p {
    width: 100%;
    text-align: center; /* Ensures all text is centered */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .offerings-cards {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for medium screens */
    }

    .offerings h2 {
        font-size: 2em;
    }

    .offering-card h3 {
        font-size: 1.5em;
    }

    .offering-card p {
        font-size: 0.95em;
    }
}

@media (max-width: 768px) {
    .offerings-cards {
        grid-template-columns: 1fr; /* 1 column for small screens */
    }

    .offerings h2 {
        font-size: 2em;
    }

    .offering-card h3 {
        font-size: 1.5em;
    }

    .offering-card p {
        font-size: 0.95em;
    }
}


/* General Section Styling */
.expertise-content, .global-reach-content, .why-choose-cards {
    padding: 60px 20px;
    margin-bottom: 40px;
}

h2 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 40px;
    margin-top: 40px;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center; /* Left-aligned headings */
}

/* Expertise Section Styling */
.expertise-content p {
    font-size: 1.1em;
    color: #555;
    line-height: 1.8;
    text-align: justify; /* Justified text alignment */
    max-width: 800px;
    margin: 0 auto;
}

/* Global Reach Section Styling */
.global-reach-content p {
    font-size: 1.1em;
    color: #555;
    line-height: 1.8;
    text-align: justify; /* Justified text alignment */
    max-width: 800px;
    margin: 0 auto;
}

/* Why Choose Section Styling */
.why-choose-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    justify-items: stretch; /* Cards stretch across the available space */
    max-width: 1200px;
    margin: 0 auto;
}

.why-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: left; /* Left-aligned text within the card */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align content to the left */
    justify-content: start; /* Distribute space evenly within the card */
}

.why-card i {
    font-size: 50px;
    color: #FFD400; /* Primary color */
    margin-bottom: 15px;
}

.why-card h3 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
}

.why-card p {
    font-size: 1em;
    color: #555;
    line-height: 1.6;
}

/* Hover Effect for Cards */
.why-card:hover {
    transform: translateY(-5px); /* Slightly lifts the card on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Enhances the shadow on hover */
}

/* Responsive Design */
@media (max-width: 768px) {
    h2 {
        font-size: 2em;
    }

    .why-card h3 {
        font-size: 1.3em;
    }

    .why-card p {
        font-size: 0.95em;
    }
}
