/* General Styles */
body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #F1F2F3;
    color: #1A2A3A;
}

/* Header */
header {
    background-color: #fff;
    padding: 20px 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

header h1 {
    margin: 0;
    font-size: 1.8em;
    color: #1A2A3A;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

nav ul li a {
    text-decoration: none;
    color: #1A2A3A;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

nav ul li a.active,
nav ul li a:hover {
    background-color: #1A2A3A;
    color: #fff;
}

/* Hero Section */
.contact-hero {
    text-align: center;
    padding: 80px 20px;
    background-color: #ffffff;
}

.contact-hero h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #1A2A3A;
}

.contact-hero p {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
    color: #2C3E50;
}

/* Contact Form - Updated Section */
.contact-form {
    max-width: 700px;
    margin: 40px auto;
    padding: 60px 40px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 35px;
}

.form-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 500;
    color: #1A2A3A;
    font-size: 1.05em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Segoe UI', sans-serif;
    font-size: 1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input {
    height: 52px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1A2A3A;
    box-shadow: 0 0 0 2px rgba(26, 42, 58, 0.1);
}

.form-group textarea {
    min-height: 180px;
    resize: vertical;
    line-height: 1.5;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: #FFC107;
    color: #1A2A3A;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
}

.btn:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
}

/* Contact Info */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 60px auto;
    padding: 60px 20px;
    background-color: #F1F2F3;
}

.info-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card h3 {
    color: #1A2A3A;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.info-card p {
    color: #2C3E50;
    font-size: 1.05em;
    line-height: 1.6;
    margin: 0;
}

/* Footer */
footer {
    background-color: #fff;
    text-align: center;
    padding: 30px;
    font-size: 0.9em;
    color: #1A2A3A;
    border-top: 1px solid #ddd;
    box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.05);
}

/* Responsive Layout - Mobile Styles */
@media (max-width: 768px) {
    /* Sticky header */
    header {
        position: sticky;
        top: 0;
        padding: 12px 20px;
        z-index: 1000;
    }
    
    /* Compact navigation */
    nav ul {
        display: flex;
        justify-content: space-between;
        gap: 8px;
        margin: 12px 0 0 0;
        padding: 0;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
    }
    
    /* Hide scrollbar in WebKit browsers */
    nav ul::-webkit-scrollbar {
        display: none;
    }
    
    nav ul li {
        flex-shrink: 0;
    }
    
    nav ul li a {
        padding: 8px 12px;
        font-size: 0.9em;
        white-space: nowrap;
    }
    
    /* Adjust hero padding */
    .hero {
        padding: 60px 20px 40px;
    }
    
    /* Slightly smaller heading on mobile */
    header h1 {
        font-size: 1.6em;
    }
    
    /* Grid adjustments */
    .feature-grid,
    .service-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Section padding adjustment */
    section {
        padding: 40px 20px;
    }
    
    /* Button full width on mobile */
    .btn {
        display: block;
        width: 100%;
        max-width: 280px;
        margin: 10px auto;
        box-sizing: border-box;
    }
}