/* Big Border around main container */
.big-border {
    position: relative; /* Relative positioning for the container */
    border-radius: 20px;
    padding: 40px 20px; /* Adjust padding to make space for the heading */
      background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 70px 0;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15), 0 25px 50px rgba(0, 0, 0, 0.2), 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Styling for the heading placed at the top of .big-border */
.top-heading {
    position: absolute;
    top: 30px; /* Adjust position from the top */
    left: 240px; /* Adjust position from the left */
    font-size: 2rem;
    color: #3a5c9e;
    font-weight: bold;
    margin: 0;
}



/* Responsive styles for medium devices (tablets) */

/* Main container styling */
.main-container1 {
    border: 5px solid #3a5c9e;
    border-radius: 15px;
    background-color: #ffffff;
    width: 90%;
    max-width: 800px;
    padding: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1), 0 20px 60px rgba(78, 119, 197, 0.25), inset 0 -6px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 70px 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Main Section Styling */
.facebook-section {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f9f9f9;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* Header Section */
.header {
    text-align: center;
    margin-bottom: 20px;
}

.header h1 {
    font-size: 28px;
    color: #4e77c5;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.header h4 {
    font-size: 35px;
    color: navy;
    font-weight: bold;
    margin-top: 0;
}

h5 {
    font-size: 18px;
    font-weight: bold;
    color: darkslategray;
    font-style: italic;
    margin-bottom: 20px;
}

/* Content Section */
.content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    justify-content: space-between;
    align-items: flex-start;
}

.content-left {
    flex: 1;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers all items horizontally */
    justify-content: center; /* Vertically center the content */
    text-align: center;
}

.content-left h2 {
    font-size: 25px;
    color: #4e77c5;
    margin-bottom: 15px;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px rgba(78, 119, 197, 0.3);
}

.content-left p {
    font-size: 16px;
    color: black;
    line-height: 1.6;
    margin-bottom: 15px;
}

.content-left ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.content-left ul li {
    font-size: 16px;
    margin-bottom: 8px;
    color: #444;
    text-align: left;
}

.content-right {
    flex: 1;
    text-align: center;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Align all content to center */
}

.content-right img {
    width: 95%;
    max-width: 250px;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.content-right img:hover {
    transform: scale(1.05);
}

.content-right button {
    margin-top: 20px;
    background-color: navy;
    color: #ffffff;
    font-weight: bold;
    border: none;
    padding: 15px 150px;
    border-radius: 40px;
    font-size: 16px;
    cursor: pointer;
    animation: blink 2s infinite ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

h6 {
    font-size: 30px;
    color: #4e77c5;
    margin-top: 40px;
    margin-bottom: 20px;
}

.content-right button:hover {
    background-color: #3a5c9e;
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Special Offer and Highlight Offer */
.special-offer,
.highlight-offer {
    margin: 20px auto;
    padding: 20px;
    border: 2px dashed #4e77c5;
    border-radius: 10px;
    background: linear-gradient(145deg, #ffffff, #f0f8ff);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.special-offer:hover,
.highlight-offer:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    background: linear-gradient(145deg, #f9f9f9, #e0f7ff);
}

/* Blinking Animation */
@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}
/* Media Queries */
/* For larger screens (tablets and above) */
@media screen and (max-width: 1024px) {
    .content {
        flex-direction: column;
        align-items: center;
    }

    .content-left,
    .content-right {
        width: 100%;
        text-align: center;
    }

    .top-heading {
        left: 50%; /* Center it horizontally */
        transform: translateX(-50%); /* Ensure it's centered */
        font-size: 2rem; /* Maintain font size for tablets */
        white-space: nowrap; /* Prevent the text from wrapping to the next line */
    }
}

/* For mobile screens (768px and below) */
@media screen and (max-width: 768px) {
    .content {
        flex-direction: column;
        align-items: center;
    }

    .content-left,
    .content-right {
        width: 100%;
        text-align: center;
    }

    .top-heading {
        left: 50%; /* Center it horizontally */
        transform: translateX(-50%); /* Ensure it's centered */
        font-size: 1.6rem; /* Adjust font size for mobile screens */
        white-space: nowrap; /* Prevent text wrapping */
    }

    .header h1 {
        font-size: 22px;
    }

    .header h4 {
        font-size: 24px;
    }

    .content-left h2 {
        font-size: 22px;
    }

    .content-left p,
    .content-left ul li {
        font-size: 14px;
    }

    .content-right button {
        padding: 12px 40px;
        font-size: 14px;
    }

    .content-right img {
        width: 80%;
        max-width: 200px;
    }
}

/* For very small screens (480px and below) */
@media screen and (max-width: 480px) {
    .header h1 {
        font-size: 18px; /* Smaller header on small screens */
    }

    .header h4 {
        font-size: 20px;
    }

    .content-left h2 {
        font-size: 20px;
    }

    .content-left p,
    .content-left ul li {
        font-size: 12px;
    }

    .content-right button {
        padding: 10px 20px;
        font-size: 12px;
    }

    .content-right img {
        width: 70%;
        max-width: 180px;
    }

    .top-heading {
        left: 50%; /* Center it horizontally for very small screens */
        transform: translateX(-50%); /* Ensure it's centered */
        font-size: 1.4rem; /* Smaller font size for very small screens */
        white-space: nowrap; /* Prevent text wrapping */
    }
}
