/* General Body Styles */
svg {
    width: auto;
    height: auto;
    max-width: 100%;
    display: inline-block;
    vertical-align: middle;
}
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
#main-header {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

#main-header .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#logo a {
    font-size: 1.8em;
    font-weight: bold;
    color: #2563eb; 
    text-decoration: none;
}
#logo-image {
    max-height: 50px; 
    width: auto;     
    display: block;   
}
#main-nav .nav-link {
    margin-left: 20px;
    text-decoration: none;
    color: #333;
    padding: 5px 10px;
    border-bottom: 2px solid transparent;
    transition: color 0.3s ease, border-bottom-color 0.3s ease;
}

#main-nav .nav-link:hover,
#main-nav .nav-link.active {
    color: #2563eb;
    border-bottom-color: #2563eb;
}

/* Mobile Menu Styles */
#mobile-menu-button {
    display: none; 
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

#mobile-menu-button span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    background-color: #fff;
    position: absolute;
    top: 100%; 
    left: 0;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 10px 0;
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav .nav-link {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #eee;
}
.mobile-nav .nav-link:last-child {
    border-bottom: none;
}

.mobile-nav .nav-link:hover,
.mobile-nav .nav-link.active {
    background-color: #f0f4f8;
    color: #2563eb;
}


/* Main Content Styles */
#main-content {
    flex-grow: 1; 
}

.section {
    padding: 60px 0;
}

.section-hero {
    background-color: #e0e7ff; 
    text-align: center;
    padding: 80px 0;
}

.section-hero h1 {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #1e3a8a;
}

.section-hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #374151;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.button-primary {
    display: inline-block;
    background-color: #2563eb;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.button-primary:hover {
    background-color: #1d4ed8; 
}

.section-title {
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 10px;
    color: #1e3a8a;
}
.section-subtitle {
    text-align: center;
    font-size: 1.1em;
    color: #4b5563;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Cards (for Home, About, Services) */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.card {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.card .card-icon {
    font-size: 2.5em; 
    color: #2563eb;
    margin-bottom: 15px;
    text-align: center; 
}
.card .card-icon svg { 
    width: 50px;
    height: 50px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    fill: #2563eb;
}


.card h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #1e3a8a;
}

.card p {
    font-size: 0.95em;
    color: #4b5563;
}

/* About Page Specific */
.about-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 30px auto;
    display: block;
}

/* Services Page Specific */
.service-item {
    display: flex;
    align-items: flex-start;
    gap: 20px; 
}
.service-item .service-icon {
    flex-shrink: 0;
    margin-top: 5px;
}
.service-item .service-icon svg {
    width: 32px; 
    height: 32px;
    /* fill: #2563eb; */
    color:#2563eb;
}
.service-item .service-content h2 {
    font-size: 1.6em;
    margin-top: 0;
    margin-bottom: 8px;
    color: #1e3a8a;
}
.service-item .service-content p {
    color: #4b5563;
}


/* Contact Page Specific */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr; 
    }
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #374151;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    box-sizing: border-box; 
    font-size: 1em;
}
.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}


.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form button[type="submit"] {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #2563eb;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.contact-form button[type="submit"]:hover {
    background-color: #1d4ed8;
}

.contact-details .card { 
    margin-bottom: 20px;
}
.contact-details .card h2 {
    margin-top: 0;
}
.contact-details .card p, .contact-details .card div {
    margin-bottom: 10px;
    color: #4b5563;
    display: flex; 
    align-items: flex-start;
}
.contact-details .card svg {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    fill: #2563eb;
    flex-shrink: 0;
    margin-top: 3px;
}
.contact-details .card a {
    color: #2563eb;
    text-decoration: none;
}
.contact-details .card a:hover {
    text-decoration: underline;
}

.form-message {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    font-size: 0.9em;
}
.form-message.success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}
.form-message.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}


/* Prose styles for Terms and Privacy */
.prose {
    max-width: 800px; 
    margin: 0 auto;
    background-color: #fff;
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.prose h1 {
    font-size: 2em;
    color: #1e3a8a;
    margin-bottom: 0.5em;
}
.prose h2 {
    font-size: 1.6em;
    color: #1e3a8a;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}
.prose p {
    margin-bottom: 1em;
    line-height: 1.7;
    color: #374151;
}
.prose ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 1em;
}
.prose li {
    margin-bottom: 0.5em;
}
.prose a {
    color: #2563eb;
    text-decoration: none;
}
.prose a:hover {
    text-decoration: underline;
}
.prose strong {
    font-weight: 600;
}
.prose .text-sm { 
    font-size: 0.85em;
    color: #6b7280;
    margin-bottom: 1.5em;
    display: block;
}


/* Footer Styles */
#main-footer {
    background-color: #1f2937; 
    color: #d1d5db; 
    padding: 40px 0 20px 0;
    margin-top: auto; 
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-widget h3 {
    font-size: 1.3em;
    color: #fff;
    margin-bottom: 15px;
}

.footer-widget p {
    font-size: 0.9em;
    color: #9ca3af; 
    line-height: 1.7;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
}

.footer-widget ul li {
    margin-bottom: 8px;
}

.footer-widget ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-widget ul li a:hover {
    color: #60a5fa; 
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #374151; 
}

.footer-bottom p {
    font-size: 0.9em;
    margin: 5px 0;
    color: #9ca3af;
}
.footer-bottom .office-address {
    font-size: 0.8em;
    color: #6b7280;
}


/* Responsive Adjustments */
@media (max-width: 768px) {
    #main-header .header-content {
        position: relative; 
    }
    .desktop-nav {
        display: none; 
    }
    #mobile-menu-button {
        display: block; 
    }

    .section-hero h1 {
        font-size: 2.2em;
    }
    .section-hero p {
        font-size: 1em;
    }
    .section-title {
        font-size: 1.8em;
    }
    .prose {
        padding: 20px;
    }
}
