*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

:root {
    --primary-color-1: #B31942;
    --primary-color-1-hover: #ea2c42;
    --primary-color-2: #0A3161;
    --primary-color-2-hover: #0f4a93;
    --footer-color: #0F172A;
    --footer-heading-color: #fff;
    --footer-content-color: #b3bac4;
    --footer-bottom-color: #1E293B;
    --copyright-background: #fff;
    --navbar-elements-size: 18px;
    --navbar-social-icons: 20px;
    --banner-heading: 38px;
    --banner-subheading: 30px;
    --section-headings: 40px;
    --section-subheadings: 28px;
    --section-main-content: 20px;
    --section-content: 18px;
    --section-normal: 16px;
    --footer-elements: 16px;
    --footer-social-icons: 18px;
    --copyright-section: 18px;
    --relative-top: 120px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0.5rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 0.5rem;
    }
}

.gradient-text{
    background:var(--primary-color-2);
    background-clip:text;
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent
}

.section-title {
    font-size: clamp(2.2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--primary-color-1);
    margin: 0 auto;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h1 {
    font-size: 48px;
    color: #fff;
    max-width: 600px;
    margin: 10px auto;
}

.section-header h2 {
    font-size: clamp(2.2rem, 4vw, 2.5rem);
    color: #fff;
    max-width: 600px;
    margin: 0 auto;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #121212;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #1e40af, #3730a3);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #1d4ed8, #1e40af);
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1B365D 0%, #0C7BC0 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-screen .loading-content {
    text-align: center;
    color: white;
}

.loading-screen .loading-logo {
    margin-bottom: 1.5rem;
}

.loading-screen .dna-helix {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 auto;
}

.loading-screen .helix-strand {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid #3A9BDB;
    border-radius: 50%;
    animation: dnaRotate 2s linear infinite;
}

.loading-screen .helix-strand:nth-child(2) {
    animation-delay: 0.5s;
    border-color: #0EA5E9;
}

@keyframes dnaRotate {
    0% {
        transform: rotateY(0deg) rotateX(30deg);
    }

    100% {
        transform: rotateY(360deg) rotateX(30deg);
    }
}

.loading-screen .loading-text {
    font-size: 40px;
    font-weight: 500;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.navbar .nav-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 10px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 120px;
}

.navbar .logo img {
    height: 80px;
    width: auto;
}

.navbar .tagline {
    color: var(--primary-color-2);
    font-weight: 500;
    font-size: 14px;
}

.nav-container .nav-menu {
    display: flex;
    list-style: none;
    gap: 1.3rem;
}

.nav-link {
    text-decoration: none;
    color: var(--primary-color-2);
    font-size: var(--navbar-elements-size);
    font-weight: 600;
    transition: all .3s ease;
    position: relative;
    padding: 8px 12px;
    border-radius: 6px;
}

.nav-link.active {
    color: var(--primary-color-1);
}

.nav-link:hover {
    color: var(--primary-color-1-hover);
    background: rgba(30, 64, 175, .1);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 4px;
    left: 12px;
    background: linear-gradient(45deg, var(--primary-color-2-hover), var(--primary-color-2));
    transition: width .3s ease;
}

.nav-link:hover::after {
    width: calc(100% - 24px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 6px;
}

.nav-toggle span {
    width: 30px;
    height: 3px;
    background: #333;
    margin: 4px 0;
    transition: .3s;
    border-radius: 2px;
}

@media screen and (max-width: 1200px) {
    .navbar .nav-container {
        max-width: 1400px;
    }

    .nav-link {
        font-size: 16px;
    }
}

@media (max-width: 1050px) {
    .nav-container {
        padding: 0 12px;
    }

    .nav-link {
        font-size: .8rem;
        padding: 5px 9px;
    }
}

@media screen and (max-width: 992px) {
    .nav-container {
        padding: 0 12px;
    }

    .nav-link {
        font-size: 13px;
        padding: 6px 10px;
    }
}

@media (max-width: 840px) {
    .nav-menu {
        position: absolute;
        top: 120px;
        left: 0;
        right: 0;
        background: var(--primary-color-2);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
        padding: 1.2rem 0;
        opacity: 0;
        pointer-events: none;
        transition: all .3s ease;
    }

    .nav-link {
        color: #fff;
        padding: .7rem 1.2rem;
        font-size: 1rem;
    }

    .nav-link.nav-link.active {
        color: var(--primary-color-2);
        background-color: #fff;
    }

    .nav-menu.active {
        opacity: 1;
        pointer-events: auto;
    }

    .nav-toggle {
        display: flex;
    }
}

@media screen and (max-width: 480px) {
    .navbar .logo img {
        height: 70px;
    }

    .nav-link {
        font-size: 0.9rem;
    }
} 

.hero-section {
    position: relative;
    top: var(--relative-top);
    min-height: 450px;
    overflow: hidden;
}

.hero-section .hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 1s ease;
}

.hero-section .hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-section .hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-section .hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(27, 54, 93, 0.8) 0%, rgba(12, 123, 192, 0.6) 100%);
}

.hero-section .hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;

    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
}

.hero-section .hero-title {
    font-size: var(--banner-heading);
    font-weight: 800;
    line-height: 1.2;
    padding: 10px;
    margin: 2rem;
    width: 100%;
}

.hero-section .hero-description {
    font-size: var(--banner-subheading);
    font-weight: 600;
    line-height: 1.6;
    margin: 0 auto;
    opacity: 0.9;
    width: 80%;
}

@media screen and (max-width: 980px) {
    .hero-section .hero-content h1 {
        width: 90%;
        margin-top: 0px;
        font-size: 32px;
    }

    .hero-section .hero-content p {
        font-size: 24px;
        width: 85%;
    }
}

@media (max-width: 760px) {
    .hero-section .hero-content p {
        font-size: 20px;
    }
}

@media screen and (max-width: 660px) {
    .hero-section .hero-content h1 {
        width: 90%;
        margin-top: 0px;
        font-size: 28px;
    }

    .hero-section .hero-content p {
        font-size: 18px;
        width: 85%;
    }
}

@media screen and (max-width: 540px) {
    .hero-section .hero-content h1 {
        width: 90%;
        margin-top: 0px;
        font-size: 24px;
    }

    .hero-section .hero-content p {
        font-size: 18px;
        width: 85%;
    }
}

@media screen and (max-width: 480px) {
    .hero-section .hero-content h1 {
        width: 90%;
        font-size: 22px;
        margin-top: 0px;
    }

    .hero-section .hero-content p {
        font-size: 18px;
        width: 85%;
    }
}

@media screen and (max-width: 400px) {
    .hero-section .hero-content h1 {
        width: 90%;
        font-size: 20px;
        margin-top: 0px;
    }

    .hero-section .hero-content p {
        font-size: 16px;
        width: 85%;
    }
}

.footer {
    position: relative;
    top: var(--relative-top);
    background: var(--primary-color-2);
    color: white;
}

.footer-main {
    padding: 3.5rem 0;
}

.footer .container {
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
    max-width: 1200px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.footer-logo h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--footer-heading-color) !important;
}

.footer-description {
    color: var(--footer-content-color);
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 1.125rem;
}

.footer .social-links {
    display: flex;
    gap: 0.5rem;
}

.footer .social-link {
    width: 36px;
    height: 36px;
    background: #fff;
    font-size: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color-2);
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.footer .social-link:hover {
    background: var(--primary-color-2-hover);
    color: #fff;
    transform: translateY(-2px);
}

.footer-links h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--footer-heading-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--footer-content-color);
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.footer-links a:hover {
    color: #fff;
}

.footer-contact h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--footer-heading-color);
}

.footer-contact .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--footer-content-color);
}

.footer-contact .contact-item i {
    color: #fff;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid var(--footer-bottom-color);
    padding: 2rem 0;
}

.footer-bottom .container {
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
    max-width: 1200px;
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.copyright {
    color: var(--footer-content-color);
    font-size: 0.875rem;
}

.copyright p:hover {
    cursor: pointer;
    color: #fff;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: var(--footer-content-color);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease-in-out;
}

.footer-bottom-links a:hover {
    color: #fff;
}

.footer .final-copyright {
    padding: 10px 0;
    background-color: var(--copyright-background);
}

.footer .final-copyright a {
    text-decoration: none;
}

.footer .final-copyright p {
    width: 100%;
    text-align: center;
    color: #000;
    font-size: var(--copyright-section);
    font-weight: 500;
    margin: 0;
}

.footer .final-copyright b {
    color: #123E70;
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        justify-content: center;
        padding: 20px 0;
        padding-left: 95px;
    }

    .footer-brand {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 0px;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .footer .social-links {
        justify-content: center;
    }

    .footer-contact .contact-item {
        justify-content: center;
        text-align: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

.back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    background: var(--primary-color-2);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    opacity: 0;
    visibility: hidden;
    z-index: 1020;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-color-2-hover);
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.lazy-load {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy-load.loaded {
    opacity: 1;
}