/* --- Global Styles --- */
:root {
    --primary-color: #0E294B; /* Dark Navy */
    --secondary-color: #F8F8F8; /* Light Grey (backgrounds) */
    --accent-color: #00adef; /* Green (CTA, highlights) */
    --text-color: #333; /* Dark Grey for body text */
    --light-text: #666; /* Lighter grey for secondary text */
    --white-color: #ffffff;
    --border-color: #eee;
    --shadow-light: rgba(0, 0, 0, 0.08); /* Subtle shadow */
    --gap-spacing: 2.5rem; /* Standard section padding/margin */

    /* Fonts */
    --font-heading: 'Lora', serif; /* Serif for trustworthiness */
    --font-body: 'Montserrat', sans-serif; /* Geometric sans-serif for modern look */
}

/* Base Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white-color);
    overflow-x: hidden; /* Prevent horizontal scroll from layout issues */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 { font-size: 3em; }
h2 { font-size: 2.5em; }
h3 { font-size: 2em; }
h4 { font-size: 1.5em; }

p {
    margin-bottom: 1em;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white-color);
    padding: 0.8em 1.8em;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background-color: #0168b5; /* Slightly darker green */
    transform: translateY(-2px);
    color: var(--white-color);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.7em 1.7em;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.section-spacing {
    padding: var(--gap-spacing) 0;
}

.bg-light {
    background-color: var(--secondary-color);
}

.section-title {
    font-size: 2.8em;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- Header --- */
.header {
    background-color: var(--white-color);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px var(--shadow-light);
    transition: all 0.3s ease;
}

.header.shrink {
    padding: 0.7rem 0;
    box-shadow: 0 2px 10px var(--shadow-light);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px; /* Adjust as needed */
    transition: height 0.3s ease;
}

.header.shrink .logo img {
    height: 40px;
}

.main-nav {
    flex-grow: 1;
    text-align: center;
}

.main-nav > ul {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
}

.main-nav > ul > li {
    position: relative;
}

.main-nav > ul > li > a {
    display: block;
    padding: 0.8rem 0;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.05rem;
    position: relative;
}

.main-nav > ul > li > a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.main-nav > ul > li > a:hover::after,
.main-nav > ul > li.active > a::after {
    width: 100%;
}

/* Dropdowns */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white-color);
    box-shadow: 0 5px 15px var(--shadow-light);
    border-top: 3px solid var(--accent-color);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 100;
}

.main-nav > ul > li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    padding: 10px 15px;
    display: block;
    color: var(--text-color);
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-menu li a:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-contact .btn {
    white-space: nowrap;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--light-text);
    font-size: 0.9em;
}
.contact-info i {
    color: var(--accent-color);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--primary-color);
    cursor: pointer;
    margin-left: 1rem;
}

/* --- Hero Section with Slider --- */
.hero-slider {
    position: relative;
    width: 100%;
    height: 70vh; /* Full-width, decent height */
    overflow: hidden;
    margin-top: 80px; /* Space for header */
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Dark overlay */
}

.hero-content {
    position: relative; /* Above overlay */
    z-index: 1;
    color: var(--white-color);
    text-align: center;
    max-width: 1100px;
    padding: 1.5rem;
}

.hero-content h1 {
    font-size: 3.8em;
    color: var(--white-color);
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.3em;
    margin-bottom: 2rem;
}

/* --- About Preview --- */
.about-preview {
    display: flex;
    align-items: center;
    gap: var(--gap-spacing);
}

.about-preview .image-col {
    flex: 1;
    min-width: 40%;
}

.about-preview .image-col img {
    border-radius: 8px;
    box-shadow: 0 10px 20px var(--shadow-light);
}

.about-preview .text-col {
    flex: 1.2;
}

/* --- Why Choose Us --- */
.why-choose-us .cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--gap-spacing);
    margin-top: 2rem;
}

.why-choose-us .card {
    background-color: var(--white-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow-light);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-choose-us .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.why-choose-us .card i {
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
    display: inline-block; /* For transform */
}

.why-choose-us .card:hover i {
    transform: rotateY(180deg); /* Subtle icon animation */
}

.why-choose-us .card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.why-choose-us .card p {
    color: var(--light-text);
    font-size: 0.95rem;
}

/* --- Services Preview / Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: var(--gap-spacing);
    margin-top: 2rem;
}

.service-card {
    background-color: var(--white-color);
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow-light);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure uniform height for grid */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card .content {
    padding: 1.5rem;
    flex-grow: 1; /* Allows content area to expand */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pushes button to bottom */
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.7rem;
}

.service-card p {
    color: var(--light-text);
    font-size: 0.9rem;
    flex-grow: 1; /* Allows paragraph to take available space */
}

.services-preview .btn-center {
    text-align: center;
    margin-top: var(--gap-spacing);
}

/* --- Client Testimonials --- */
.testimonials-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    padding: 2rem 0; /* Space for controls */
}

.testimonial-slide-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-card {
    min-width: 100%; /* Each card takes full width of slider */
    background-color: var(--white-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow-light);
    text-align: center;
    box-sizing: border-box; /* Include padding in min-width */
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 3px solid var(--accent-color);
}

.testimonial-card p {
    font-style: italic;
    color: var(--light-text);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.testimonial-card .client-name {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none; /* Allow interaction with slide content */
}

.testimonial-nav button {
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    font-size: 1.5rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    pointer-events: all; /* Re-enable for buttons */
}

.testimonial-nav button:hover {
    background-color: var(--accent-color);
}


/* --- FAQ Preview / FAQ Page Accordion --- */
.faq-accordion .accordion-item {
    border: 1px solid var(--border-color);
    margin-bottom: 10px;
    border-radius: 5px;
    background-color: var(--white-color);
}

.faq-accordion .accordion-header {
    padding: 1rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--white-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    border-radius: 5px;
}

.faq-accordion .accordion-header:hover {
    background-color: #0c203b; /* Slightly darker */
}

.faq-accordion .accordion-header i {
    transition: transform 0.3s ease;
}

.faq-accordion .accordion-header.active i {
    transform: rotate(180deg);
}

.faq-accordion .accordion-content {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    background-color: var(--white-color);
    display: none; /* Controlled by JS */
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.faq-accordion .accordion-content p {
    color: var(--light-text);
    margin-bottom: 0;
}

.faq-preview .btn-center {
    text-align: center;
    margin-top: var(--gap-spacing);
}

/* --- CTA Banner --- */
.cta-banner {
    position: relative;
    background: url('../img/cta.jpg') no-repeat center center/cover; /* Placeholder */
    padding: 5rem 0;
    color: var(--white-color);
    text-align: center;
    margin-top: var(--gap-spacing);
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65); /* Darker overlay */
}

.cta-banner .content {
    position: relative;
    z-index: 1;
}

.cta-banner h2 {
    color: var(--white-color);
    font-size: 3em;
    margin-bottom: 1.5rem;
}

.cta-banner p {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* --- Footer --- */
.footer {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: var(--gap-spacing) 0;
    font-size: 0.95rem;
}

.footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-col h4 {
    color: var(--white-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-col p, .footer-col ul li {
    margin-bottom: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--accent-color);
}

.footer-col .contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.footer-col .contact-item i {
    color: var(--accent-color);
    margin-right: 10px;
    font-size: 1.2em;
    padding-top: 3px;
}

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

.newsletter-form input[type="email"] {
    padding: 0.8em 1em;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white-color);
    border-radius: 5px;
    margin-bottom: 1rem;
    width: 100%;
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.footer .copyright {
    text-align: center;
    margin-top: var(--gap-spacing);
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.footer .copyright a {
   
    color: rgba(255, 255, 255, 0.6);
}

/* --- Page Hero & Breadcrumb (for inner pages) --- */
.page-hero {
    background: url('../img/slider-1.webp') no-repeat center center/cover; /* Placeholder */
    padding: 6rem 0 4rem;
    text-align: center;
    color: var(--white-color);
    margin-top: 80px; /* Space for sticky header */
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: 3.5em;
    color: var(--white-color);
    margin-bottom: 0.5rem;
}

.page-hero p {
    font-size: 1.2em;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.breadcrumb {
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumb a:hover {
    color: var(--accent-color);
}

.breadcrumb span {
    margin: 0 5px;
}

/* --- About Page Specific --- */
.about-content {
    display: flex;
    gap: var(--gap-spacing);
    margin-top: 3rem;
    align-items: flex-start;
}

.about-content .main-text {
    flex: 1.5;
}

.about-content .main-image {
    flex: 1;
}

.about-content .main-image img {
    border-radius: 8px;
    box-shadow: 0 10px 20px var(--shadow-light);
}

.mission-vision-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-spacing);
    margin-top: var(--gap-spacing);
}

.mission-vision-card {
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow-light);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.mission-vision-card i {
    font-size: 3.5rem;
    color: var(--accent-color);
    min-width: 60px; /* Ensure icon doesn't shrink */
    text-align: center;
}

.mission-vision-card h3 {
    margin-top: 0;
}

/* --- Services Page Specific --- */
/* The general .services-grid and .service-card styles already cover this. */

/* --- FAQ Page Specific --- */
/* The general .faq-accordion styles already cover this. */

/* --- Contact Page Specific --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--gap-spacing);
    margin-top: 3rem;
}

.contact-info-col .info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-info-col .info-item i {
    font-size: 2.2rem;
    color: var(--accent-color);
    margin-right: 1.5rem;
    min-width: 40px; /* Prevent shrinking */
}

.contact-info-col .info-item h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.contact-info-col .info-item p {
    color: var(--light-text);
    margin-bottom: 0;
}

.contact-map {
    margin-top: 3rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-light);
}

.contact-map iframe {
    width: 100%;
    height: 350px;
    border: 0;
}

.contact-form-col {
    background-color: var(--secondary-color);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow-light);
}

.contact-form-col h3 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1em 1.2em;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

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

.contact-form .form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    display: none; /* Controlled by JS */
}

.contact-form .form-message.success {
    background-color: #d4edda;
    color: #0168b5;
    border: 1px solid #c3e6cb;
}
.contact-form .form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* --- Newsletter Page Specific --- */
.newsletter-section {
    margin-bottom: var(--gap-spacing);
    margin-top: var(--gap-spacing);
}

.newsletter-form-container {
    background-color: var(--secondary-color);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow-light);
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-form-container h3 {
    margin-bottom: 1.5rem;
}

.newsletter-form-container .form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.newsletter-form-container input[type="text"],
.newsletter-form-container input[type="email"],
.newsletter-form-container input[type="date"] {
    width: 100%;
    padding: 1em 1.2em;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
}

.newsletter-form-container .checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.newsletter-form-container .checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    width: auto; /* Override 100% width */
}

.newsletter-form-container .form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    display: none; /* Controlled by JS */
}

.unsubscribe-section {
    margin-top: var(--gap-spacing);
    text-align: center;
}

.unsubscribe-section p {
    margin-bottom: 1rem;
}

.unsubscribe-section a {
    font-weight: 600;
}

/* Modal for Unsubscribe */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--white-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.8rem;
    color: var(--light-text);
    cursor: pointer;
    line-height: 1;
}

.modal-content h3 {
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal Content Box */
.modal-content {
    background-color: var(--white-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

/* Close Button */
.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.8rem;
    color: var(--light-text);
    cursor: pointer;
    line-height: 1;
}

/* Modal Heading */
.modal-content h3 {
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--primary-color);
}

/* Form inside Modal */
.modal-content .form-group {
    margin-bottom: 1.5rem;
}

.modal-content label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.modal-content input[type="email"],
.modal-content input[type="date"] {
    width: 100%;
    padding: 1em 1.2em;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
}

.modal-content input:focus {
    outline: none;
    border-color: var(--accent-color);
}

/* Success / Error Message in Modal */
.modal-content .form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    display: none; /* Toggle with JS */
}

.modal-content .form-message.success {
    background-color: #d4edda;
    color: #0168b5;
    border: 1px solid #c3e6cb;
}

.modal-content .form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Button inside modal */
.modal-content button[type="submit"] {
    padding: 0.75rem 1.5rem;
    background-color: var(--accent-color);
    color: var(--white-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.modal-content button[type="submit"]:hover {
    background-color: var(--primary-color);
}


/* --- Individual Service Page --- */

.service-detail-img {
    margin-top: 50px;
    max-width: 1200px;
    border-radius: 10px;
    margin-bottom: 50px;
}

.service-detail-text {
    max-width: 1200px;
    margin: 0 auto var(--gap-spacing);
}

.service-detail-text p {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 1.5em;
    color: var(--light-text);
}

.featured-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--gap-spacing);
    margin-bottom: var(--gap-spacing);
}

.featured-service-card {
    background-color: var(--white-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow-light);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.featured-service-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.featured-service-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.featured-service-card p {
    color: var(--light-text);
    font-size: 0.9rem;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    background-color: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 3rem;
    box-shadow: 0 2px 8px var(--shadow-light);
    
}

.feature-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

.feature-item h5 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.1rem;
}


/* --- Responsive Design --- */
@media (max-width: 992px) {
    .main-nav {
        display: none; /* Hide main nav on smaller screens */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--white-color);
        box-shadow: 0 5px 15px var(--shadow-light);
        padding: 1rem 0;
    }
    .main-nav.active {
        display: flex;
    }
    .main-nav > ul {
        flex-direction: column;
        gap: 0;
        text-align: left;
    }
    .main-nav > ul > li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    .main-nav > ul > li:last-child {
        border-bottom: none;
    }
    .main-nav > ul > li > a {
        padding: 1rem 1.5rem;
    }
    .main-nav > ul > li > a::after {
        left: 1.5rem;
        width: 0;
    }
    .main-nav > ul > li > a:hover::after,
    .main-nav > ul > li.active > a::after {
        width: calc(100% - 3rem);
    }
    .dropdown-menu {
        position: static; /* Make dropdown flow naturally */
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: none;
        background-color: var(--secondary-color);
        padding-left: 1rem;
    }
    .dropdown-menu li a {
        padding-left: 2.5rem;
    }

    .mobile-nav-toggle {
        display: block;
    }

    .header-contact {
        display: none; /* Hide header contact info on smaller screens to save space */
    }

    .header .container {
        justify-content: space-between;
    }

    .hero-content h1 {
        font-size: 2.8em;
    }
    .hero-content p {
        font-size: 1.1em;
    }

    .about-preview {
        flex-direction: column;
    }
    .about-preview .image-col,
    .about-preview .text-col {
        min-width: 100%;
    }

    .mission-vision-section {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-info-col,
    .contact-form-col {
        padding: 2rem;
    }

    .cta-banner h2 {
        font-size: 2.5em;
    }
    .cta-banner p {
        font-size: 1em;
    }

    .footer .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-col .contact-item {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5em; }
    h2 { font-size: 2em; }
    h3 { font-size: 1.7em; }
    h4 { font-size: 1.3em; }

    .hero-slider {
        height: 60vh;
        margin-top: 70px; /* Adjust for smaller header */
    }
    .header.shrink .logo img {
        height: 35px;
    }
    .logo img {
        height: 45px;
    }

    .page-hero {
        margin-top: 70px;
        padding: 4rem 0 3rem;
    }
    .page-hero h1 {
        font-size: 2.8em;
    }

    .services-grid, .why-choose-us .cards-grid {
        grid-template-columns: 1fr;
    }

    .featured-services-grid, .features-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    h1 { font-size: 2em; }
    h2 { font-size: 1.8em; }
    h3 { font-size: 1.5em; }

    .section-spacing {
        padding: 2rem 0;
    }
    .gap-spacing {
        gap: 1.5rem;
    }

    .hero-content h1 {
        font-size: 2em;
    }
    .hero-content p {
        font-size: 1em;
    }

    .page-hero h1 {
        font-size: 2.2em;
    }

    .contact-form-col, .newsletter-form-container {
        padding: 1.5rem;
    }
}