/* GENERAL STYLING */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 80%;
    max-width: 1280px;
    background-color: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    overflow: hidden;
    /* Ensure proper containment of floated elements */
}

/* HEADER STYLING */

header {
    padding: 20px 30px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background-color: #fff;
    position: relative;
    z-index: 10;
    /* Ensure header stays on top */
    flex-wrap: nowrap;
}

.logo-container {
    animation: pulse 3s infinite ease-in-out;
    transition: transform 0.3s ease;
    margin-right: 40px;
    flex-shrink: 0;
}

.logo {
    width: 180px;
    /* Fixed logo size */
    height: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }

    100% {
        transform: scale(1);
    }
}

/* NAVIGATION STYLING */

.main-nav {
    margin-left: 0;
    flex-grow: 1;
}

.pseudo-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.pseudo-menu>li {
    margin-left: 15px;
    position: relative;
}

.pseudo-menu>li>a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.pseudo-menu>li>a:hover {
    background-color: #007bff;
    color: #fff;
}

.pseudo-menu ul {
    list-style: none;
    padding: 0;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    z-index: 5;
}

.pseudo-menu li:hover>ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.pseudo-menu ul li {
    display: block;
}

.pseudo-menu ul li a {
    color: #333;
    text-decoration: none;
    display: block;
    padding: 10px 15px;
    transition: background-color 0.3s ease;
}

.pseudo-menu ul li a:hover {
    background-color: #f0f0f0;
}

/* MAIN CONTENT STYLING */

main {
    padding: 30px;
}

.section-title {
    font-size: 2.2em;
    margin-bottom: 20px;
    color: #007bff;
    text-align: center;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.p-title {
    color: #ff7800;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
    margin-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: #007bff;
}

.content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.text-content {
    flex: 1;
    padding: 0 20px;
    text-align: left;
    margin-bottom: 20px;
}

.text-content p {
    font-size: 1.05em;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
}

.image-content {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 0 20px;
}

.lazy-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lazy-image:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* HERO SECTION */

.hero-section {
    background: linear-gradient(135deg, #e1f5fe, #fff);
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.hero-section .text-content {
    animation: slideInLeft 1s ease-out;
}

.hero-section .image-content {
    animation: slideInRight 1s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ABOUT US SECTION */

.about-us-section {
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.about-us-section .image-content {
    flex-direction: column;
    gap: 20px;
    position: relative;
    z-index: 1;
    animation: fadeIn 1.5s ease-out;
}

.about-us-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #e1f5fe, #fff);
    border-radius: 50%;
    z-index: 0;
    animation: moveBackground 10s linear infinite;
}

@keyframes moveBackground {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(50px, 50px);
    }

    100% {
        transform: translate(0, 0);
    }
}

.about-us-section .text-content {
    position: relative;
    z-index: 1;
    animation: slideInUp 1s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* SOLUTIONS SECTION */

.solutions-section {
    background: linear-gradient(135deg, #e8f5e9, #fff);
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.solutions-section .text-content {
    animation: slideInLeft 1.2s ease-out;
}

.solutions-section .image-content {
    animation: scaleIn 1.2s ease-out;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* CONNECT SECTION */

.connect-section {
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.connect-section .image-content {
    animation: rotateIn 1.5s ease-out;
}

.connect-section .text-content {
    animation: slideInRight 1.5s ease-out;
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-180deg) scale(0.5);
    }

    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

/* INSIGHTS SECTION */

.insights-section {
    background: linear-gradient(135deg, #f1f8e9, #fff);
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.insights-section .text-content {
    animation: fadeInUp 1.2s ease-out;
}

.insights-section .image-content {
    animation: zoomIn 1.2s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ACADEMY SECTION */

.academy-section {
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.academy-section .image-content {
    animation: flipInX 1.5s ease-out;
}

.academy-section .text-content {
    animation: slideInUp 1.5s ease-out;
}

@keyframes flipInX {
    from {
        opacity: 0;
        transform: perspective(400px) rotateX(90deg);
    }

    to {
        opacity: 1;
        transform: perspective(400px) rotateX(0);
    }
}

/* CONTACT SECTION */

.contact-section {
    background-color: #f8f8f8;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-section .content-wrapper {
    flex-direction: column;
}

.contact-section form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.contact-section input,
.contact-section textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    transition: box-shadow 0.3s ease;
}

.contact-section textarea {
    min-height: 120px;
}

.contact-section input:focus,
.contact-section textarea:focus {
    outline: none;
    box-shadow: 0 0 5px #007bff;
}

.contact-link {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.contact-link:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

/* FOOTER STYLING */

footer {
    text-align: center;
    padding: 20px;
    background-color: #eee;
    border-top: 1px solid #ddd;
}

footer p {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 10px;
}

footer a {
    text-decoration: none;
    color: #007bff;
    font-weight: 600;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #0056b3;
}

/* MOBILE RESPONSIVENESS */
@media screen and (max-width: 850px) {
    header {
        flex-direction: column;
        align-items: center;
        padding: 15px;
    }

    .logo-container {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .main-nav {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }

    .pseudo-menu {
        display: flex;
        flex-wrap: nowrap;
        white-space: nowrap;
    }

    .pseudo-menu>li {
        margin-left: 15px;
    }

    .pseudo-menu>li:first-child {
        margin-left: 0;
    }

    .content-wrapper {
        flex-direction: column !important;
        align-items: center !important;
    }

    .text-content,
    .image-content {
        padding: 0 !important;
        width: 100% !important;
    }

    .sponsor-brand,
    .sponsor-services {
        width: 100% !important;
        min-width: 100% !important;
        padding-top: 20px !important;
    }

    .section-1b .content-wrapper {
        padding: 20px 15px !important;
    }

    .partners-grid {
        grid-template-columns: 1fr !important;
    }

    .sponsor-section .content-wrapper {
        gap: 20px !important;
    }

    .hero-section {
        padding: 30px 15px;
    }
}

.main-nav::-webkit-scrollbar {
    display: none;
}

.main-nav {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

/* PREMIUM SPONSOR & PARTNER STYLING */

.partner-brand-link {
    color: #007bff;
    font-weight: 800;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.partner-brand-link:hover {
    color: #ff7800;
}

.sponsor-section {
    position: relative;
    overflow: hidden;
}

.sponsor-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 0, 0, 0.1);
    color: #ff0000;
    font-size: 0.85em;
    font-weight: bold;
    padding: 6px 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 0, 0, 0.2);
    z-index: 2;
}

.sponsor-badge i {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 18px;
    height: 18px;
    background: #ff0000;
    color: #fff;
    border-radius: 50%;
    font-style: normal;
    font-size: 12px;
}

.sponsor-link-item {
    display: block;
    padding: 12px 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    font-size: 0.95em;
    border: 1px solid transparent;
}

.sponsor-link-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.bg-fb {
    background: #f0f7ff;
    color: #0056b3;
    border: 1px solid rgba(0, 86, 179, 0.1);
}

.bg-fb:hover {
    background: #0056b3;
    color: #fff;
    border-color: #0056b3;
}

.bg-ig {
    background: #fff0f5;
    color: #e83e8c;
    border: 1px solid rgba(232, 62, 140, 0.1);
}

.bg-ig:hover {
    background: #e83e8c;
    color: #fff;
    border-color: #e83e8c;
}

.bg-tt {
    background: #f8f9fa;
    color: #333;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.bg-tt:hover {
    background: #333;
    color: #fff;
    border-color: #333;
}

.bg-tw {
    background: #e6f7ff;
    color: #1da1f2;
    border: 1px solid rgba(29, 161, 242, 0.1);
}

.bg-tw:hover {
    background: #1da1f2;
    color: #fff;
    border-color: #1da1f2;
}

.bg-yt {
    background: #ffe6e6;
    color: #ff0000;
    border: 1px solid rgba(255, 0, 0, 0.1);
}

.bg-yt:hover {
    background: #ff0000;
    color: #fff;
    border-color: #ff0000;
}

.bg-th {
    background: #f0f0f0;
    color: #000;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.bg-th:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.bg-tel {
    background: #e6f2ff;
    color: #0088cc;
    border: 1px solid rgba(0, 136, 204, 0.1);
}

.bg-tel:hover {
    background: #0088cc;
    color: #fff;
    border-color: #0088cc;
}

.bg-shp {
    background: #fff0e6;
    color: #ee4d2d;
    border: 1px solid rgba(238, 77, 45, 0.1);
}

.bg-shp:hover {
    background: #ee4d2d;
    color: #fff;
    border-color: #ee4d2d;
}

.bg-laz {
    background: #e6f0ff;
    color: #0f136d;
    border: 1px solid rgba(15, 19, 109, 0.1);
}

.bg-laz:hover {
    background: #0f136d;
    color: #fff;
    border-color: #0f136d;
}