body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: url('image4.jpg') no-repeat center center fixed;
    background-size:cover;
    color: #333;
}

header {
    background: rgba(205, 204, 203, 0.8);
    color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 100%;
    margin-right: 20px;
}

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

nav ul li {
    margin-left: 20px;
    position: relative;
}

nav ul li a {
    color: #021d28;
    text-decoration: none;
    font-weight: bold;
    font-size: 25px;
    padding: 10px 15px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ffcc00;
}

.dropdown-menu li a {
    color: #021d28;
    font-weight: bold;
    font-size: 16px;
    padding: 8px 12px;
    display: block;
    transition: background 0.3s ease;
}

.dropdown-menu li a:hover {
    background: #ffcc00;
    color: #000;
}

.hero {
    padding: 50px;
    text-align: center;
    color: rgba(205, 204, 203, 0.8);
    font-size: 24px;
}

.video-section {
    position: relative;
    height: 600px;
    width: 100%;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-text {
    position: relative;
    height: 100%;
    font-size: 18px;
    z-index: 2;
    color: #fff;
    padding: 20px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
}

.social-icons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 1000;
}

.social-icon img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-icon img:hover {
    transform: scale(1.5);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 999;
    overflow-y: auto; /* Allow scrolling if content overflows */
}

.modal.active {
    display: block;
}

.modal-content {
    position: relative;
    background-color: rgba(20, 20, 20, 0.5);
    margin-top: 28%;
    padding: 40px; /* Increased padding for more internal space */
    height: 80%;
    width:100%; /* Increased from 600px to 900px for wider modal */
    min-height: 80vh; /* Minimum height to make it longer */
    border-radius: 10px;
    color: #fff;
    box-sizing: border-box;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1000;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background: rgb(66, 65, 65);
    border-radius: 50%;
    pointer-events: auto;
}

.close-btn:hover {
    background:  #ffcc00;
}
.modal-text {
    color: #fff;
    text-align: left;
    padding: 20px;
    width: 100%;
    font-size: 22px; /* Increased text size */
    line-height: 1.8; /* Better readability */
}

/* Increased modal title size */
.modal-content h2 {
    font-size: 28px;
    font-weight: bold;
    text-align: center;
}

.modal-text {
    color: #fff;
    text-align: left;
    padding: 20px;
    width: 100%;
}

/* New Sections Styling */
.portfolio-section, .reviews-section {
    padding: 60px 20px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-content {
    display: flex;
    max-width: 1200px;
    width: 100%;
    align-items: center;
}

.section-image img {
    width: 500px;
    height: auto;
    object-fit: cover;
    margin-right: 40px;
}

.section-text {
    max-width: 600px;
}

.section-text h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
}

.section-text p {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.learn-more-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    transition: background 0.3s ease;
}

.learn-more-btn:hover {
    background: #333;
}

@media (max-width: 768px) {
    .modal-content {
        width: 100%; /* Slightly smaller width on mobile */
        max-width: 90%; /* Override max-width for smaller screens */
        min-height: 60vh; /* Shorter height on mobile */
        margin: 20px auto; /* Less margin on mobile */
        padding: 20px; /* Less padding on mobile */
    }

    .section-content {
        flex-direction: column;
        text-align: center;
    }

    .section-image img {
        margin-right: 0;
        margin-bottom: 20px;
        width: 100%;
    }

    .section-text h2 {
        font-size: 28px;
    }

    .section-text p {
        font-size: 16px;
    }
}