
* {
    margin: 0;
    /* Removes the default outer spacing applied by browsers */

    padding: 0;
    /* Removes the default inner spacing applied by browsers */

    box-sizing: border-box;
    /* Includes padding and borders within the element's total width and height */
}


/* body */

body 
{
    margin: 0;
    /* Removes the default body margin */

    font-family: Arial, sans-serif;
    /* Sets the default font family */

    line-height: 1.6;
    /* Improves text readability */
}


/* hero */

.hero {
    background-image: url("../image/sea.avif");
    /* Sets the Hero background image */

    height: 100vh;
    /* Makes the Hero section fill the entire viewport height */

    background-repeat: no-repeat;
    /* Prevents the background image from repeating */

    background-size: cover;
    /* Scales the image to completely cover the Hero section */

    background-position: center;
    /* Centers the background image within the Hero section */

    display: flex;
    /* Enables Flexbox for content alignment */

    align-items: center;
    /* Vertically centers the Hero content */

    justify-content: center;
    /* Horizontally centers the Hero content */

    position: relative;
    /* Creates a positioning context for the overlay (::before) and other absolutely positioned elements */
}

/* Container*/

.container {

   /* width: 100%; */
    /* Uses 100% of the available viewport width */

    max-width: 1200px;
    /* Prevents the content from becoming too wide on large screens */

    margin: 0 auto;
    /* Centers the container horizontally */

       padding-inline: 20px;
    /* Adds horizontal spacing on the left and right */
}


/* .hero::before  */

.hero::before 
{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    pointer-events: none;
}


/* .hero-content */

.hero-content {

    max-width: 600px;
    /* Limits the maximum width of the Hero content for better readability */

    text-align: center;
    /* Horizontally centers all text inside the Hero */

    position: relative;
    /* Creates a positioning context and places the content above the overlay */

    z-index: 1;
    /* Keeps the Hero content above the overlay (::before) */
}


/* .hero-title */

.hero-title {

    font-size: 1.5rem;
    /* Sets the base font size for the Hero heading */

    font-weight: bold;
    /* Makes the heading bold to emphasize the main message */

    color: #FFFFFF;
    /* Sets the heading text color */

    font-family: sans-serif;
    /* Applies a clean and readable font family */

    margin-bottom: 1rem;
    /* Adds spacing below the heading */
}

/* hero description */

.hero-description
{
    font-size: 1rem;
    /* Sets the paragraph font size */

    color: #E5F4FF;
   
    margin-bottom: 2rem;
    /* Adds spacing below the paragraph */
}

/* Hero Buttons */

.hero-buttons {

    display: flex;
    /* Enables Flexbox for button layout */

    flex-direction: column;
    /* Stacks buttons vertically on mobile devices */

    gap: 1rem;
    /* Adds equal spacing between the buttons */

}


/* btn */
.btn
{
    
     display: inline-block;
    /* Allows padding and width adjustments */

    padding: 0.9rem 1.5rem;
    /* Creates a comfortable clickable area */

    border-radius: 8px;
    /* Applies rounded corners */

    text-align: center;
    /* Centers the button text */

    font-weight: bold;
    /* Makes the button text stand out */

    transition: 0.3s;
    /* Creates smooth hover animations */

    text-decoration: none;

    
    
   
}

/* Primary Button */

.btn-primary {

    background-color:#F4B400;
    /* Sets the primary button background */

    color: #062235;
    /* Sets the primary button text color */

}

.btn-primary:hover {

    background-color: #E09A00;
    /* Changes the background color on hover */

}


/*
  Secondary Button */

.btn-secondary {

    background-color:  #FFFFFF;
    /* Makes the button background transparent */

    border: 2px solid #FFFFFF;
    /* Creates an outlined button */

    color: #0F4C81;
    /* Sets the text color */

}


.btn-secondary:hover {
    background-color: #0F4C81;
    color: #FFFFFF;
    border-color: #0F4C81;
}

/* Keyboard Focus */

.btn:focus {

    outline: 2px solid #38BDF8;
    /* Displays a visible outline for keyboard users */

    outline-offset: 3px;
    /* Creates space between the outline and the button */

}

/* Tablet Layout (768px and up) */

@media (min-width: 768px) {

    .hero {

        padding: 6rem 0;
        /* Increases vertical spacing on medium screens */

    }

    .hero-title {

        font-size: 3rem;
        /* Enlarges the main heading */

    }

    .hero-description {

        max-width: 600px;
        /* Limits the text width for better readability */

        margin: 0 auto 2rem;
        /* Centers the paragraph and adds bottom spacing */

    }

    .hero-buttons {

        flex-direction: row;
        /* Displays buttons side by side */

        justify-content: center;
        /* Centers the button group */

    }

}


/*Desktop Layout (1024px and up) */

@media (min-width: 1024px) {

    .hero {

        padding: 8rem 0;
        /* Adds more vertical spacing on large screens */

    }

    .hero-title {

        font-size: 2.5rem;
        /* Makes the main heading more prominent */

    }

    .hero-description {

        font-size: 1.1rem;
        /* Slightly increases the paragraph size */

    }

}