/* Reset margin and padding for all elements */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

/* Body styling */
body {
    overflow-x: hidden;
    background-color: #000;
    color: white;
}

/* Section title styling */
.section-title {
    color: white; /* Set text color to white */
    text-align: center; /* Center align the title */
    font-size: 30px; /* Increased font size */
    margin: 50px 0; /* Add margin for spacing */
}

/* Header styling */
header {
    width: 100%;
    background-color: #fff;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1000; /* Ensure it stays above other content */
}

/* Navbar styling */
.navbar {
    width: 100%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    position: relative;
    z-index: 1000;
}

.logo {
    width: 150px; /* Adjusted logo size */
    cursor: pointer;
}

.navbar ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.navbar ul li {
    margin: 0 20px; /* Adjusted margin */
    position: relative;
}

.navbar ul li a {
    text-decoration: none;
    color: #000;
    text-transform: uppercase;
    transition: color 0.3s;
}

.navbar ul li::after {
    content: '';
    height: 3px; /* Adjusted height */
    width: 0;
    background: #000;
    position: absolute;
    left: 0;
    bottom: -10px; /* Adjusted bottom spacing */
    transition: width 0.5s;
}

.navbar ul li:hover::after {
    width: 100%;
}

/* Sticky navbar styling */
.sticky {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Banner styling */
.banner {
    display: inline-flex;
    align-items: center;
    padding: 150px;
    width: 100%;
    height: 650px; /* Adjusted height */
    background-color: black;
    background-size: cover;
    flex-direction: column; /* Stack elements vertically */
}

/* Heading 1 styling */
#heading1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 60px;
}

/* Content styling */
.content {
    max-width: 800px;
    padding: 25px; /* Adjusted padding */
}

#dynamic-value {
    font-size: 3rem; /* Adjust font size as needed */
    white-space: nowrap; /* Prevent text from wrapping to the next line */
    display: inline-block; /* Keeps text on the same line */
}

.typewriter::after {
    content: '|'; /* Adds the cursor */
    display: inline-block;
    animation: blink 0.75s step-end infinite; /* Adjusted to blink */
    color: white; /* Cursor color */
    margin-left: 5px; /* Adjusts the spacing of the cursor */
}

/* Keyframes for typing animation */
@keyframes typing {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
    100% {
        opacity: 1; /* Makes cursor visible again */
    }
}

/* Offer Section Styling */
.offer-items {
    display: flex;
    justify-content: center;
    gap: 60px; /* Adjusted space between items */
    margin-bottom: 200px; /* Adjusted bottom margin */
}

/* Individual offer and package item styling */
.offer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 300px; /* Adjusted width */
    padding: 30px; /* Adjusted padding within each item */
    background-color: #222;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease; /* Add smooth scaling on hover */
}

.offer-item:hover{
    transform: scale(1.05); /* Slightly enlarge on hover */
}

/* Icon styling within offer and package items */
.offer-icon {
    width: 150px; /* Adjusted icon size */
    height: auto;
    margin-bottom: 20px; /* Adjusted margin */
}

/* Heading and text styling */
.offer-item h3{
    font-size: 24px; /* Increased font size */
    color: white;
    margin: 10px 0; /* Adjusted margin */
    text-align: center;
}

.offer-item p {
    font-size: 16px; /* Increased text size */
    color: #ddd;
    text-align: center;
    padding: 0 10px; /* Adjusted padding */
    line-height: 1.6;
}

/* Description Section */
.description-section {
    text-align: center;
}

.description-section h1 {
    margin-bottom: 20px;
    font-size: 28px;
    color: #fff;
}

#description {
    font-size: 25px;
    margin-bottom: 150px;
    color: #ddd;
}

/* Button styling */
button {
    width: 250px; /* Adjusted button width */
    height: 80px;
    padding: 20px 0; /* Adjusted padding */
    font-size: 18px;
    text-align: center;
    border-radius: 200px; /* Adjusted border radius */
    font-weight: bold;
    border: 2px solid #fff; /* Adjusted border size */
    background: transparent;
    color: #fff;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

button:hover {
    background: #fff;
    color: #000;
}

/* Animation on page load */
.animate-on-load {
    opacity: 0;
    transform: translateY(10px); /* Adjusted translation */
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    /* Body adjustments for mobile */
    body {
        padding: 0 10px;
    }

    /* Section title adjustments */
    .section-title {
        font-size: 24px; /* Slightly smaller font */
        margin: 30px 0;
    }

    /* Navbar adjustments for mobile */
    .navbar {
        flex-direction: column;
        align-items: center;
    }

    .navbar ul {
        flex-direction: column;
    }

    .navbar ul li {
        margin: 10px 0; /* Reduced margin for mobile */
    }

    .navbar ul li a {
        font-size: 16px; /* Smaller font size for links */
    }

    .logo {
        width: 120px; /* Reduced logo size */
    }

    /* Banner adjustments */
    .banner {
        padding: 80px 20px; /* Reduced padding */
        height: auto; /* Allow dynamic height */
    }

    #heading1 {
        font-size: 1.4rem; /* Adjusted for mobile screens */
        margin-bottom: 40px;
        text-align: center;
    }

    .content {
        padding: 20px;
        max-width: 100%; /* Use full width for mobile */
    }

    #dynamic-value {
        font-size: 1.4rem; /* Adjusted font size */
    }

    /* Description section adjustments */
    .description-section h1 {
        font-size: 24px; /* Smaller font for mobile */
        margin-bottom: 15px;
    }

    #description {
        font-size: 20px; /* Adjusted description size */
        margin-bottom: 100px;
    }

    /* Button adjustments */
    button {
        width: 200px; /* Reduced button width */
        height: 60px;
        padding: 15px 0;
        font-size: 16px;
    }
    
    .offer-items {
        flex-direction: column; /* Stack items on mobile */
        justify-content: center; /* Center items */
        align-items: center; /* Align items vertically */
        gap: 30px; /* Reduced gap */
        margin-bottom: 100px; /* Reduced margin */
    }

    .offer-item {
        width: 90%; /* Full width on mobile */
        padding: 20px; /* Smaller padding */
    }

    .offer-icon {
        width: 60px; /* Smaller icon size for mobile */
    }

    .offer-item h3 {
        font-size: 20px; /* Smaller heading size */
    }

    .offer-item p {
        font-size: 14px; /* Smaller paragraph size */
    }
}
