/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
    font-family: "Open Sans", sans-serif;
    color: #fff; /* Changed for visibility on black background */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    color: #fff; /* Changed for visibility */
    text-decoration: none;
}

    a:hover {
        color: #4CAF50; /* Green from provided CSS */
        text-decoration: none;
    }

.dark-mode a:hover {
    color: #d44212; /* Orange from provided CSS */
}

h1, h4, h5, h6 {
    font-family: "Poppins", sans-serif;
}

h2, h3 {
    font-family: "Playfair Display", serif;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
    background: #000000; /* Black background */
    min-height: 100vh;
    max-height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    font-weight: 600;
    overflow: hidden;
    padding-top: 100px;
}

    #hero .hero-info {
        color: #fff; /* Changed for visibility */
        text-align: center;
        z-index: 2;
    }

    #hero h1 {
        font-size: 80px;
        font-family: Days One, sans-serif;
        font-weight: 400;
        color: #fff; /* Changed for visibility */
    }

/* Keyframes for the text color change */
@keyframes textColorChange {
    0% {
        color: #fff;
    }

    50% {
        transform: scale(0.7);
        color: #ccc; /* Lighter gray for visibility */
    }

    100% {
        transform: scale(1);
        color: #fff;
    }
}

#hero h3 {
    font-size: 30px;
    font-family: 'Caladea', serif;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff; /* Changed for visibility */
}

#hero h2 {
    font-size: 30px;
    font-family: 'Alegreya Sans SC', sans-serif;
    margin-bottom: 30px;
    font-weight: 400;
    color: #ccc; /* Changed for visibility */
}

/* Floating Object Styles */
.floating-objects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

    .floating-objects .float-object {
        position: absolute;
        background-color: rgba(76, 175, 80, 0.7); /* #4CAF50 with higher opacity for visibility */
        border-radius: 50%;
        animation: float 10s infinite linear;
    }

.dark-mode .floating-objects .float-object {
    background-color: rgba(213, 67, 19, 0.7); /* #d54313 with higher opacity */
}

.float-object.one {
    width: 50px;
    height: 50px;
    left: 5%;
    animation-duration: 12s;
}

.float-object.two {
    width: 70px;
    height: 70px;
    left: 20%;
    animation-duration: 15s;
}

.float-object.three {
    width: 60px;
    height: 60px;
    left: 35%;
    animation-duration: 10s;
}

.float-object.four {
    width: 40px;
    height: 40px;
    left: 50%;
    animation-duration: 18s;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-50px) rotate(180deg);
    }

    100% {
        transform: translateY(0) rotate(360deg);
    }
}

/* Button Row Container */
.button-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 35px;
    flex-wrap: wrap;
}

    .button-row a {
        display: inline-block;
    }

/* Custom Button Styles */
.custom-btn {
    font-size: 16px;
    padding: 15px 46px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

    /* Button 1 - Gradient + Hover Animation */
    .custom-btn.btn-1 {
        background: linear-gradient(45deg, #ffffff, #aaaa9c);
        color: #000000; /* White for visibility */
        box-shadow: 0 9px 15px rgba(76, 175, 80, 0.3); /* #4CAF50 */
    }

.dark-mode .custom-btn.btn-1 {
    box-shadow: 0 9px 15px rgba(213, 67, 19, 0.3); /* #d54313 */
}

.custom-btn.btn-1:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(46, 125, 50, 0.4); /* #2E7D32 */
}

.dark-mode .custom-btn.btn-1:hover {
    box-shadow: 0 12px 25px rgba(213, 67, 19, 0.4); /* #d54313 */
}

.custom-btn.btn-1::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.custom-btn.btn-1:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Button 2 - Gradient + Hover Animation */
.custom-btn.btn-2 {
    background: linear-gradient(45deg, #f2f2f2, #d4b1e4);
    color: #000000;
    box-shadow: 0 9px 15px rgba(76, 175, 80, 0.3); /* #4CAF50 */
}

.dark-mode .custom-btn.btn-2 {
    box-shadow: 0 9px 15px rgba(213, 67, 19, 0.3); /* #d54313 */
}

.custom-btn.btn-2:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(46, 125, 50, 0.4); /* #2E7D32 */
}

.dark-mode .custom-btn.btn-2:hover {
    box-shadow: 0 12px 25px rgba(213, 67, 19, 0.4); /* #d54313 */
}

.custom-btn.btn-2::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.custom-btn.btn-2:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Button 3 - Gradient + Hover Animation */
.custom-btn.btn-3 {
    background: linear-gradient(45deg, #ffffff, #ffffff);
    color: #000000;
    box-shadow: 0 9px 15px rgba(76, 175, 80, 0.3); /* #4CAF50 */
}

.dark-mode .custom-btn.btn-3 {
    box-shadow: 0 9px 15px rgba(213, 67, 19, 0.3); /* #d54313 */
}

.custom-btn.btn-3:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(46, 125, 50, 0.4); /* #2E7D32 */
}

.dark-mode .custom-btn.btn-3:hover {
    box-shadow: 0 12px 25px rgba(213, 67, 19, 0.4); /* #d54313 */
}

.custom-btn.btn-3::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.custom-btn.btn-3:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Button 4 - Gradient + Hover Animation */
.custom-btn.btn-4 {
    background: linear-gradient(45deg, #c2c4c4, #ffffff);
    color: #000000;
    box-shadow: 0 9px 15px rgba(76, 175, 80, 0.3); /* #4CAF50 */
}

.dark-mode .custom-btn.btn-4 {
    box-shadow: 0 9px 15px rgba(213, 67, 19, 0.3); /* #d54313 */
}

.custom-btn.btn-4:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(46, 125, 50, 0.4); /* #2E7D32 */
}

.dark-mode .custom-btn.btn-4:hover {
    box-shadow: 0 12px 25px rgba(213, 67, 19, 0.4); /* #d54313 */
}

.custom-btn.btn-4::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.custom-btn.btn-4:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Button 5 - Gradient + Hover Animation */
.custom-btn.btn-5 {
    background: linear-gradient(45deg, #fbfffc, #c9fce9);
    color: #000000;
    box-shadow: 0 9px 15px rgba(76, 175, 80, 0.3); /* #4CAF50 */
}

.dark-mode .custom-btn.btn-5 {
    background: linear-gradient(45deg, #d54313, #d44212);
    box-shadow: 0 9px 15px rgba(213, 67, 19, 0.3); /* #d54313 */
}

.custom-btn.btn-5:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(46, 125, 50, 0.4); /* #2E7D32 */
}

.dark-mode .custom-btn.btn-5:hover {
    box-shadow: 0 12px 25px rgba(213, 67, 19, 0.4); /* #d54313 */
}

.custom-btn.btn-5::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.custom-btn.btn-5:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Button 6 - Gradient + Hover Animation */
.custom-btn.btn-6 {
    background: linear-gradient(45deg, #f4f4f4, #c3ecc5);
    color: #000000;
    box-shadow: 0 9px 15px rgba(76, 175, 80, 0.3); /* #4CAF50 */
}

.dark-mode .custom-btn.btn-6 {
    background: linear-gradient(45deg, #d44212, #ff7043);
    box-shadow: 0 9px 15px rgba(213, 67, 19, 0.3); /* #d54313 */
}

.custom-btn.btn-6:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(46, 125, 50, 0.4); /* #2E7D32 */
}

.dark-mode .custom-btn.btn-6:hover {
    box-shadow: 0 12px 25px rgba(213, 67, 19, 0.4); /* #d54313 */
}

.custom-btn.btn-6::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.custom-btn.btn-6:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Styling for Footer */
#footer {
    background-color: #1c1c1c;
    color: #fff;
    padding: 50px 0;
}

.footer-logo img {
    max-width: 100%;
    margin-bottom: 20px;
}

.footer-logo h1 {
    color: #fff;
    font-size: 50px;
}

/* Keyframes for movement and rotation */
@keyframes moveAndRotate {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.5;
    }

    50% {
        transform: translate(20px, -20px) rotate(45deg);
        opacity: 0.8;
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.5;
    }
}

/* Style for the shapes */
.shape {
    position: absolute;
    width: 100px;
    height: 100px;
    background-color: #f2f2f229;
    box-shadow: 0 4px 10px rgb(255 255 255); /* #4CAF50 with higher opacity */
    animation: moveAndRotate 6s infinite ease-in-out;
    opacity: 0.6;
}

.dark-mode .shape {
    box-shadow: 0 4px 10px rgba(213, 67, 19, 0.5); /* #d54313 with higher opacity */
}

.shape.square {
    border-radius: 0%;
}

.shape.rounded {
    border-radius: 50%;
}

.shape:nth-child(1) {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    top: 10%;
    left: 30%;
    animation-delay: 2s;
}

.shape:nth-child(3) {
    top: 35%;
    left: 16%;
    animation-delay: 4s;
}

.shape:nth-child(4) {
    top: 10%;
    left: 45%;
    animation-delay: 1s;
}

.shape:nth-child(5) {
    top: 75%;
    left: 75%;
    animation-delay: 2.5s;
}

.shape:nth-child(6) {
    top: 75%;
    left: 15%;
    animation-delay: 3s;
}

.shape:nth-child(7) {
    top: 15%;
    left: 90%;
    animation-delay: 4.5s;
}

.shape:nth-child(8) {
    top: 40%;
    left: 80%;
    animation-delay: 1.5s;
}

.shape:nth-child(9) {
    top: 75%;
    left: 25%;
    animation-delay: 5s;
}

/* Mobile responsiveness */
@media (max-width: 1025px) {
    .shape {
        width: 50px;
        height: 50px;
    }

    #hero {
        height: 100%;
    }

        #hero h1 {
            font-size: 60px;
            font-weight: 600;
        }

        #hero h2 {
            font-size: 20px;
        }

    .hero-info {
        margin-bottom: 40px;
    }

    .custom-btn {
        font-size: 16px;
    }

    .button-row {
        display: block;
        justify-content: space-between;
        gap: 15px;
        width: 100%;
        flex-wrap: wrap;
        margin-top: 20px;
    }

    .custom-btn {
        font-size: 30px;
        padding: 18px 30px;
        flex: 1 0 48%;
        margin: 15px 15px;
    }
}

@media (max-width: 768px) {
    .shape {
        width: 40px;
        height: 40px;
    }

    #hero {
        height: 90vh;
    }

        #hero h1 {
            font-size: 60px;
        }

        #hero h2 {
            font-size: 18px;
        }

    .button-row {
        display: block;
        justify-content: space-between;
        gap: 15px;
        width: 100%;
        flex-wrap: wrap;
        margin-top: 20px;
    }

    .custom-btn {
        font-size: 24px;
        padding: 20px 30px;
        flex: 1 0 48%;
        margin: 15px 15px;
    }
}

@media (max-width: 575px) {
    .shape {
        width: 30px;
        height: 30px;
    }

    #hero {
        height: 80vh;
    }

        #hero .container {
            width: 85%;
        }

        #hero h1 {
            font-size: 50px;
        }

        #hero h2 {
            font-size: 19px;
        }


    .custom-btn {
        font-size: 15px;
        padding: 13px 20px;
        margin: 10px;
    }
}
