
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: Arial, sans-serif;
    color: rgba(77, 77, 77, 1);
    line-height: 1.6;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
.site-header {
    background: rgba(0, 0, 0, 0.4); 
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    color: #fff;
}
.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}
.logo img {
    height: 50px;
    width: 50px;
    object-fit: cover;
    border-radius: 50%;
}
.nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
    transition: 0.3s;
}
.nav a:hover {
    color: #722cff;
}
.btn {
    border-radius: 184px;
    border: 2px solid #00D1FF; 
    box-shadow: 
        0px 0px 39px rgba(22, 47, 150, 0.62),
        inset 0px 0px 15px rgba(0, 209, 255, 0.4);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 10px 35px;
    box-sizing: border-box;
    color: #fff !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    cursor: pointer;
}
.btn:hover {
    transform: scale(1.03);
    border-color: #fff; 
    box-shadow: 
        0px 0px 50px rgba(0, 209, 255, 0.8), 
        inset 0px 0px 20px rgba(0, 209, 255, 0.6);
}
.hero {
    background: 
        url("../img/Union.png") no-repeat center center,
        url("../img/Group\ 3\(1\).png") no-repeat center center,
        radial-gradient(125% 100% at 100% 100%, #5C0092 0%, rgba(0, 0, 0, 0) 100%), 
        radial-gradient(125% 100% at 0% 100%, #160092 0%, rgba(0, 0, 0, 0) 100%), 
        #000000;
    background-size: contain, cover; 
    height: 520px;
    padding: 0 20px;
    color: #ffffff; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
}
.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 25px;
}
.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.about-text {
    flex: 1;
}
.about-image {
    flex: 1;
    text-align: center;
}
.about-image img {
    max-width: 100%;
    height: auto;
}
.section {
    padding: 30px 20px;
}
.section.gray {
    background: #f9f9f9;
}
.section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
}
.card {
    position: relative;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: flex;
}
.card .overlay {
    position: absolute;
    inset: 0;
    transition: background 0.3s ease;
}
.card-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
}
.card:hover .card-content {
    opacity: 1;
    background-color: #fff;
}
.card-content h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
    font-weight: 700;
    color: #6a11cb;
}
.card-content p {
    font-size: 1rem;
    line-height: 1.4;
    max-width: 90%;
}
.card:hover {
    background-image: none !important;
    transform: scale(1.05);
}
#contact {
    text-align: center;
}
.contact-form {
    max-width: 400px;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.contact-form input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.contact-form input:focus {
    border-color: rgb(114, 44, 255);
    box-shadow: 0 0 8px rgba(114, 44, 255, 0.3);
    outline: none;
}
.contact-form button {
    border-radius: 184px;
    border: 2px solid #00D1FF; 
    box-shadow: 
        0px 0px 39px rgba(22, 47, 150, 0.62),
        inset 0px 0px 15px rgba(0, 209, 255, 0.4);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 10px 35px;
    box-sizing: border-box;
    color: #4d4d4d !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    cursor: pointer;
}
.contact-form button:hover {
     transform: scale(1.03);
    border-color: #fff; 
    box-shadow: 
        0px 0px 50px rgba(0, 209, 255, 0.8), 
        inset 0px 0px 20px rgba(0, 209, 255, 0.6);
}
.site-footer {
    background: #111;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    font-size: 0.9rem;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgb(0, 0, 0) url("../img/image.png") no-repeat center center;
    background-size: auto;
    z-index: 9999;
    animation: fadeOut 2.5s ease forwards;
}
@keyframes fadeOut {
    0% { opacity: 1; }
    60% { opacity: 1; }
    100% { opacity: 0; visibility: hidden; }
}
@media (max-width: 992px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .site-header .container {
        align-items: flex-start;
    }
    
    .about-image {
        margin-top: 1.5rem;
    }
    
    .card .card-content {
        opacity: 0;
    }
    
    .card:focus, .card:active {
        background-image: none !important;
    }
    
    .card:focus .card-content, .card:active .card-content {
        opacity: 1;
        background-color: #fff;
    }
    
    .card::after {
        content: "Tap to reveal";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        text-align: center;
        padding: 8px;
        font-size: 0.9rem;
        font-weight: 600;
        color: #fff;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(2px);
    }
    
    .card:focus::after, .card:active::after {
        opacity: 0;
        visibility: hidden;
    }
}
@media (max-width: 600px) {
    .btn{
        padding: 1px 15px;
    }
    .nav {
        text-align: center;
        margin-top: 10px;
    }
    
    .nav a[href="#about"], .nav a[href="#benefits"] {
        display: none;
    }
    
    .cards {
        grid-template-columns: 1fr;
        justify-content: center;
        justify-items: center;
        max-width: 100%; 
        margin: 0 auto;
    }
    .card {
        width: 100%;
        max-width: 320px;
    }
    
    .hero h1 {
        margin-top: 60px;
        font-size: 22px;
    }
    
    .hero h2 {
        font-size: 13px;
    }
    .hero h3{
        font-size: 11px;
        margin-bottom: 5px;
    }
    .hero p{
        font-size: 11px;
    }
}