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

/* Header Section - Kept Original Styling */
.header {
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7), rgba(4,9,30,0.7)), url(img/backround.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
}

nav {
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}    

nav img {
    width: 150px;
}

.nav-links {
    flex: 1;
    text-align: right;
}

.nav-links ul li {
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.nav-links ul li a {
    color: white;
    text-decoration: none;
    font-size: 13px;
}

.nav-links ul li::after {
    content: '';
    width: 0%;
    height: 2px;
    background: #f44336;
    display: block;
    margin: auto;
    transition: 0.5s;
}

#selected{
    background: #444040;
}

.nav-links ul li:hover::after {
    width: 100%;
}

.text-box {
    width: 90%;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.text-box h1 {
    font-size: 64px;
}

.text-box p {
    margin: 10px 0 40px;
    font-size: 14px;
    color: white;
}

.hero-btn {
    display: inline-block;
    text-decoration: none;
    color: white;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}

.hero-btn:hover {
    border: 1px solid #f44336;
    background: #f44336;
    transition: 1s;
}

@media (max-width: 700px) {
    .text-box h1 {
        font-size: 20px;
    }
}

/* Amazing Places Section - Improved Grid Layout */
.amazing {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 80px 0;
}

.amazing h1 {
    font-size: 39px;
    font-weight: 600;
    margin-bottom: 20px;
}

.amazing > p {
    color: #777;
    font-size: 14px;
    line-height: 22px;
    padding: 10px;
    max-width: 800px;
    margin: 0 auto;
}

.row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.amazing- {
    background: #fff3f3;
    border-radius: 10px;
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.amazing-:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.amazing- h2 {
    text-align: center;
    font-weight: 600;
    margin: 15px 0;
    font-size: 24px;
}

.amazing- p {
    text-align: left;
    margin-top: 15px;
    color: #555;
}

.amazing- img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

/* Footer */
.footer {
    text-align: center;
    background-color: #777;
    padding: 20px 0;
}

.footer p {
    color: #FFF;
}

/* Video Embed Styles */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    margin: 30px auto;
    max-width: 900px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

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

.video-description {
    max-width: 800px;
    margin: 30px auto;
    padding: 0 20px;
}

.video-description h2 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 24px;
    text-align: center;
}

.video-description ul {
    margin: 20px 0;
    padding-left: 30px;
}

.video-description li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Contact Form Styles */
.contact-form-container {
    max-width: 600px;
    margin: 30px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.kenya-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #f44336;
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit-btn {
    align-self: flex-start;
    border: none;
    background: #f44336;
    color: white;
    padding: 12px 30px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.form-submit-btn:hover {
    background: #e53935;
}


@media (max-width: 768px) {
    .video-description {
        padding: 0 15px;
    }
    
    .video-container {
        margin: 20px auto;
    }
    .contact-form-container {
        padding: 15px;
        margin: 20px auto;
    }
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .amazing {
        padding: 60px 0;
    }
    
    .amazing h1 {
        font-size: 32px;
    }
    .video-description {
        padding: 0 15px;
    }
    
    .video-container {
        margin: 20px auto;
    }
}

@media (max-width: 480px) {
    .amazing h1 {
        font-size: 28px;
    }
    
    .amazing {
        width: 95%;
        padding: 40px 0;
    }
}