body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;
    background: linear-gradient(135deg, #0a050c, #213b5b, #321b38);
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 10;
}
header img {
    height: 40px;
}
nav {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.3s ease;
}
nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}
nav a:hover {
    color: #ffd700;
}
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}
.hero {
    position: relative;
    overflow: hidden;
}
.hero img {
    width: 100%;
    height: 80vh;
    object-fit: cover;
}
@media (max-width: 768px) {
    .hero img {
        height: 50vh;
        object-fit: cover;
    }
}
.hero-text {
    position: absolute;
    top: 50%;
    left: 40%;
    transform: translate(-60%, -50%);
    text-align: left;
}
.hero-text h1, .hero-text p {
    opacity: 0;
    animation: fadeLineUp 0.8s ease forwards;
}
.hero-text h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
    animation-delay: 0.2s;
}
.hero-text p {
    font-size: clamp(1rem, 3vw, 1.25rem);
    opacity: 0.9;
    animation-delay: 0.6s;
}
@keyframes fadeLineUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    width: 70%;
    max-width: 1100px;
    margin: 3rem auto;
}
.feature {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
    animation: fadeInUp 1s ease;
}
.feature:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}
.feature i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #7eb7d1;
}
section {
    padding: 3rem 3rem;
    max-width: 900px;
    margin: auto;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border-radius: 1rem;
    animation: fadeInUp 1s ease;
    text-align: center;
}
#contact {
    margin-top: 5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    text-align: left;
}
.contact-info, .contact-form {
    flex: 1;
    min-width: 280px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
}

form input,
form textarea {
    width: 90%; /* Reduced from 100% to 90% */
    max-width: 500px; /* Optional: ensures it doesn't stretch too much on larger screens */
    padding: 0.8rem;
    border: none;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1rem;
}

form button {
    width: 50%; /* Reduced button width */
    max-width: 250px;
    padding: 0.8rem;
    border: none;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

form button:hover {
    background: rgba(255, 255, 255, 0.3);
}

#blog {
    margin-top: 4rem;
}
.blog-btn {
    margin-top: 1rem;
    padding: 0.8rem 1.2rem;
    border: none;
    border-radius: 0.5rem;
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}
.blog-btn:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}
footer {
    background: rgba(0, 0, 0, 0.3);
    width: 100%;
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
    margin-top: 2rem;
}

input, textarea, button {
    padding: 0.8rem;
    border: none;
    border-radius: 0.5rem;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}
input, textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
}
button {
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}
button:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes panIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
@media (max-width: 768px) {
    nav {
        display: none;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.95);
        box-shadow: 0 8px 16px rgba(0,0,0,0.3);
        position: absolute;
        top: 60px;
        right: 20px;
        padding: 1rem;
        border-radius: 0.5rem;
        animation: panIn 0.4s ease forwards;
    }
    nav a {
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    nav a:last-child {
        border-bottom: none;
    }
    nav.active {
        display: flex;
    }
    .menu-toggle {
        display: block;
    }
}