/* Reset some defaults */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
}

/* Body & container */
body {
    background-color: #000;
    color: #fff;
}

.index {
    width: 100%;
}

/* Navbar */
.navbar {
    width: 100%;
    height: 60px;
    background-color: #111;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    padding: 0 30px;
    box-shadow: 0 3px 10px rgba(255,255,255,0.1);
}

.navbar p {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 28px;
    color: #fff;
}

.nav1 {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav1 i {
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s;
}

.nav1 i:hover {
    color: #ccc;
}

/* Section container */
.sec1 {
    width: 100%;
    display: flex;
    
    gap: 5px;
}

/* Card common style */
.sec1 > div {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
}

/* Individual cards */
.sm1, .sm3, .sm4, .sm2 {
    background-color: #222;
    width: 50%;
    height:600px;
}

.sm1:hover, .sm2:hover, .sm3:hover, .sm4:hover {
    transform: scale(0.9);
}

.sec1 img {
    border-radius: 10px;
    max-width: 100%;
    height: auto;
}

.sm1 h4, .sm2 h2, .sm3 h2, .sm4 h2 {
    color: #fff;
    margin-top: 15px;
    text-align: center;
    font-size: 24px;
}

/* Links in sm4 and sm3 */
.sm4 a, .sm3 a {
    text-decoration: none;
    color: inherit;
}

/* Responsive */
@media (max-width: 992px) {
    .sec1 {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .sm1, .sm2, .sm3, .sm4 {
        width: 90%;
        height: auto;
    }

    .sm1:hover, .sm2:hover, .sm3:hover, .sm4:hover {
        transform: scale(0.9);
    }
}

@media (max-width: 576px) {
    .navbar p { font-size: 22px; }
    .nav1 i { font-size: 20px; }
    .sm1 h4, .sm2 h2, .sm3 h2, .sm4 h2 { font-size: 20px; }
    .sm1 img{width: 200px;}
    .sm3 img{width: 200px;}
}
