/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: 'Arial', sans-serif;
    overflow: hidden;
}

/* Landing Page Styles */
.landing-page {
    position: relative;
    height: 100vh;
    width: 100%;
    background: url('/asset-home/images/bg.png') no-repeat center center/cover;
    animation: backgroundAnimation 15s infinite alternate;
}

/* Background Animation */
@keyframes backgroundAnimation {
    0% {
        transform: scale(1) translateY(0);
    }
    100% {
        transform: scale(1.1) translateY(-20px);
    }
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

/* Content */
.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    padding: 20px;
}

.headline {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 30px;
    color: #FFD700; /* Light gold color */
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
    line-height: 1.3; /* Increased line height */
    padding: 0 20px; /* Added padding around the text */
}

/* Buttons */
.buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.buttons a {
    text-decoration: none; /* Remove underline */
    padding: 15px 35px;
    font-size: 1rem; /* Reduced font size */
    font-weight: bold;
    color: white;
    background-color: #E6C200; /* Light gold */
    border: 2px solid #B59D00;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    width: 220px;
    text-align: left;
    border-radius: 50px; /* Curved button */
}

.buttons a i {
    font-size: 1.4rem;
}

.buttons a:hover {
    background-color: #B59D00;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.buttons a.blue {
    background-color: #5DADE2; /* Sky blue */
    border: 2px solid #3498DB;
}

.buttons a.green {
    background-color: #2ECC71; /* Palm tree green */
    border: 2px solid #27AE60;
}

/* Floating Elements */
.floating-elements .circle,
.floating-elements .square,
.floating-elements .triangle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0.6;
    animation: float 8s infinite ease-in-out;
}

.circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    top: 10%;
    left: 20%;
    animation-duration: 10s;
}

.square {
    width: 60px;
    height: 60px;
    top: 30%;
    left: 70%;
    animation-duration: 12s;
}

.triangle {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 80px solid rgba(255, 255, 255, 0.1);
    top: 70%;
    left: 40%;
    animation-duration: 15s;
}

/* Floating Animation */
@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .headline {
        font-size: 2.5rem;
        line-height: 1.4; /* Increased line height */
        padding: 0 20px; /* Added padding for more breathing room */
    }

    .buttons {
        flex-direction: column;
        gap: 20px;
    }

    .buttons a {
        width: 240px; /* Increased button width */
        padding: 15px 30px; /* Adjusted padding */
        font-size: 1rem; /* Kept font size larger for better visibility */
    }

    .buttons a i {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .headline {
        font-size: 2.2rem; /* Increased font size for better readability */
        line-height: 1.5; /* Further increased line height */
        padding: 0 30px; /* More padding around text */
    }

    .buttons {
        gap: 15px;
    }

    .buttons a {
        width: 220px; /* Wider buttons on small screens */
        padding: 15px 25px; /* More padding for space */
        font-size: 1rem; /* Kept font size readable */
    }

    .buttons a i {
        font-size: 1.1rem;
    }
}

.alert {
    padding: 20px;
    background-color: #f44336;
    color: white;
}
  
.closebtn {
    margin-left: 15px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
}
  
.closebtn:hover {
    color: black;
}
