* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0f172a;
    min-height: 100vh;
    overflow-x: hidden;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin: 1rem 0;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
}

.feature-icon {
    padding: 0.5rem;
    margin-bottom: 0.25rem;
}

.feature-icon i {
    font-size: 1.25rem;
    color: white;
}

.feature-title {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.navigation-container {
    position: relative;
    min-height: 100vh;
    width: 100%;
}

.central-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 50;
}

.module-background {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 0.7s;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.logo-container {
    width: 8rem;
    height: 8rem;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.logo-container img {
    width: 6rem;
    height: 6rem;
    object-fit: contain;
}

.separators {
    position: absolute;
    inset: 0;
    z-index: 10;
}

.separator-horizontal {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
}

.separator-vertical {
    position: absolute;
    top: 0;
    left: 50%;
    height: 100%;
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
}
.header-bar {
 
    color: white;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.header-logo {
    height: 2.5rem;
    width: auto;
    flex-shrink: 0;
    object-fit: contain;
}

.header-title {
    position: absolute;
    left: 50%;
    padding: 0.7rem 3rem;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    background-color: #3c6bdd;
    transform: translateX(-50%);
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0;
    top:0;
    white-space: nowrap;
    text-align: center;
}

.header-spacer {
    width: 2.5rem;
    flex-shrink: 0;
    visibility: hidden;
}

@media (max-width: 1024px) {
    .header-bar {
        padding: 0.875rem 1.5rem;
    }
    
    .header-logo {
        height: 2.25rem;
    }
    
    .header-title {
        font-size: 1.375rem;
    }
    
    .header-spacer {
        width: 2.25rem;
    }
}

@media (max-width: 768px) {
    .header-bar {
        padding: 0.75rem 1rem;
    }
    
    .header-logo {
        height: 2rem;
    }
    
    .header-title {
        font-size: 1rem;
        padding: 0.7rem 1.5rem;
    }
    
    .header-spacer {
        width: 2rem;
    }
}

@media (max-width: 480px) {
    .header-bar {
        padding: 0.625rem 0.75rem;
    }
    
    .header-logo {
        height: 1.75rem;
    }
    
    .header-title {
        font-size: 1rem;
    }
    
    .header-spacer {
        width: 1.75rem;
    }
}

.modules-grid {
    min-height: 100vh;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 3rem;
    row-gap: 1rem;
    padding: 2rem;
}

.module {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    transition: transform 0.5s;
    height: fit-content;
    background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6), transparent);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.6s ease-out forwards;
}

.module:hover {
    transform: scale(1.02);
}

.module:hover .module-background {
    transform: scale(1);
}

.module:hover .module-overlay {
    opacity: 0.9;
}

.module-content {
    position: relative;
    height: 100%;
    width: 100%;
    padding: 1.5rem;
    display: flex;
    color: white;
    z-index: 3;
    align-items: flex-start;
}

.module-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 60%;
    gap: 0.75rem;
    position: relative;
    z-index: 20;
}

.module-right {
    flex: 0 0 40%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: auto;
    max-height: none;
    padding-right: 1rem;
    z-index: 15;
}

.module-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.module-icon {
    padding: 0.75rem;
    background: #3c6bdd;
    backdrop-filter: blur(8px);
    border-radius: 0.75rem;
}

.module-icon i {
    font-size: 1.5rem;
    color: white;
}

.module h2 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.module-description {
    margin: 0.5rem 0;
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    flex-grow: 0;
}

.circle-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.module:hover .circle-image {
    transform: scale(1.05);
}

.circle-image img {
    width: 260px;
    height: 260px;
    z-index: 15;
    position: relative;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.module-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 3rem;
    color: white;
    text-decoration: none;
    background: linear-gradient(135deg, #0F75BB 0%, #4169E1 100%);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    margin-top: 1rem;
    z-index: 999;
}

.module-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 100%
    );
    transition: left 0.5s ease;
}

.module-button:hover {
    box-shadow: 0 10px 20px rgba(15, 117, 187, 0.2);
}

.module-button:hover::before {
    left: 100%;
}

@media (min-width: 1025px) and (max-width: 1666px) {
    .modules-grid {
        gap: 2rem;
        padding: 1.75rem;
    }

    .module {
        min-height: 290px;
    }

    .circle-image img {
        width: 240px;
        height: 240px;
    }
    .separators {
        display: none;
    }
    .module-description {
        font-size: 0.8125rem;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .feature-item {
        padding: 0.375rem;
    }
    
    .feature-icon {
        padding: 0.375rem;
    }
    
    .feature-icon i {
        font-size: 1rem;
    }
    .module-button {
        padding: 0.75rem 2.75rem;
    }
}


@media (max-width: 1224px) {
    .modules-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    .separators {
        display: none;
    }

    .logo-container {
        width: 6rem;
        height: 6rem;
    }

    .logo-container img {
        width: 4rem;
        height: 4rem;
    }

    .module {
        height: auto;
        min-height: 800px !important;
    }

    .module-content {
        flex-direction: column;
    }

    .module-left {
        max-width: 100%;
        order: 2;
    }

    .module-right {
        width: 100%;
        order: 1;
        padding: 0;
        margin-bottom: 1rem;
        justify-content: center;
    }

    .circle-image-container {
        justify-content: center;
    }

    .circle-image img {
        width: 200px;
        height: 200px;
    }

    .module-header {
        gap: 0.75rem;
    }

    .module-icon {
        padding: 0.5rem;
    }

    .module h2 {
        font-size: 1.25rem;
    }

    .module-description {
        font-size: 0.8125rem;
        margin: 0.75rem 0;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .feature-item {
        padding: 0.375rem;
    }
    
    .feature-icon {
        padding: 0.375rem;
    }
    
    .feature-icon i {
        font-size: 1rem;
    }
    
    .feature-title {
        font-size: 0.8rem;
        padding-bottom: 10px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}