/* section-7 - Social Media Grid */

.sec-7-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
    width: 80%;
    max-width: 1200px;
    margin: 100px auto 50px;
    font-family: "Poppins", sans-serif;
}

.box {
    border-radius: 15px;
    overflow: hidden;
    background: transparent;
    transition: transform 0.3s ease;
    min-height: 250px;
}

/* Keep styling only for the "Follow us" card */
.item-1 {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    padding: 30px;
    background: linear-gradient(135deg, #0a1744 0%, #1e2a5e 100%) !important;
    color: white;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.item-1:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Item-1 styling is already defined above */

.text-color {
    flex: 1;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
}

.text-color p {
    font-family: "Syne", sans-serif;
    font-size: 2.5rem;
    line-height: 1.3;
    margin: 0;
    max-width: 100%;
    padding: 0;
}

.text-color .highlight {
    color: #ffffff;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
    font-size: 2.8rem;
}

.text-color .normal {
    color: #e0e6ff;
    font-weight: 300;
    font-size: 2rem;
}

.img-1 {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.img-1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Item-2: Two stacked images */
.item-2 {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 15px;
    justify-content: space-between;
}

.pic-3, .pic-4 {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    min-height: 100px;
}

.pic-3 img, .pic-4 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Item-3: Single image */
.item-3 {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.item-3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Item-4: Single image */
.item-4 {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.pic {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



/* Responsive Design */

/* Large Desktop */
@media (max-width: 1200px) {
    .sec-7-container {
        width: 85%;
        gap: 18px;
    }
    
    .text-color p {
        font-size: 2.2rem;
    }
    
    .text-color .normal {
        font-size: 1.8rem;
    }

    .text-color .highlight {
        font-size: 2.5rem;
    }
}

/* Desktop */
@media (max-width: 1024px) {
    .sec-7-container {
        width: 90%;
        gap: 15px;
        margin: 80px auto 40px;
    }
    
    .text-color p {
        font-size: 2rem;
    }
    
    .text-color .normal {
        font-size: 1.6rem;
    }

    .text-color .highlight {
        font-size: 2.2rem;
    }
    
    .item-1 {
        padding: 25px;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .sec-7-container {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
        width: 95%;
        gap: 15px;
        margin: 60px auto 30px;
    }
    
    .item-1 {
        grid-column: span 2;
        grid-row: 1;
        flex-direction: row;
        align-items: center;
        padding: 20px;
        min-height: 200px;
    }
    
    .text-color {
        flex: 1;
        margin-bottom: 0;
        margin-right: 20px;
    }
    
    .text-color p {
        font-size: 1.8rem;
    }
    
    .text-color .normal {
        font-size: 1.4rem;
    }

    .text-color .highlight {
        font-size: 2rem;
        margin-bottom: 5px;
    }
    
    .img-1 {
        flex: 1;
        min-height: 150px;
    }
    
    .item-2 {
        grid-column: 1;
        grid-row: 2;
    }
    
    .item-3 {
        grid-column: 2;
        grid-row: 2;
    }
    
    .item-4 {
        grid-column: span 2;
        grid-row: 3;
        min-height: 200px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .sec-7-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        width: 95%;
        gap: 20px;
        margin: 40px auto 20px;
        padding: 0 10px;
    }
    
    .item-1 {
        grid-column: 1;
        grid-row: 1;
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
        min-height: 300px;
    }
    
    .text-color {
        margin-bottom: 20px;
        margin-right: 0;
        align-items: center;
    }
    
    .text-color p {
        font-size: 1.6rem;
        text-align: center;
    }
    
    .text-color .highlight {
        font-size: 1.8rem;
        margin-bottom: 5px;
    }
    
    .text-color .normal {
        font-size: 1.3rem;
    }
    
    .img-1 {
        min-height: 120px;
    }
    
    .item-2, .item-3, .item-4 {
        grid-column: 1;
        min-height: 200px;
    }
    
    .item-2 {
        flex-direction: row;
        gap: 10px;
    }
    
    .pic-3, .pic-4 {
        flex: 1;
    }
}

/* Small Mobile */
@media (max-width: 360px) {
    .sec-7-container {
        width: 100%;
        gap: 15px;
        margin: 30px auto 15px;
        padding: 0 5px;
    }
    
    .text-color p {
        font-size: 1.4rem;
    }
    
    .text-color .highlight {
        font-size: 1.6rem;
    }
    
    .text-color .normal {
        font-size: 1.2rem;
    }
    
    .item-1 {
        padding: 20px 15px;
        min-height: 280px;
    }
    
    .item-2, .item-3, .item-4 {
        min-height: 180px;
        padding: 10px;
    }
}

