﻿@charset "UTF-8";

/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body, html {
    height: 100%;
    width: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background-color: #f9f9f9;
    overflow-x: hidden;
    line-height: 1.6;
}

.layout-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1;
}


/* Container Fixes */
.container,
.banner,
.services-section,
.services-grid,
.blog-details,
.blog-post,
form,
footer {
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    margin-bottom: 20px;
}




/* Header */
header {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    padding: 15px 30px;
    position: relative;
    z-index: 10;
}

    header h1 {
        font-size: 1.8rem;
        color: #0d47a1;
        font-weight: bold;
    }

@media (max-width: 768px) {
    header {
        text-align: center;
        padding: 10px 20px;
    }
}

.logo-link {
    display: grid;
    align-items: center;
    text-decoration: none;
    color: #808080;
}

.logo {
    height: 30px;
    margin-right: 8px;
}


/* Navigation */
nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    background-color: transparent;
}

    nav a {
        color: #555;
        text-decoration: none;
        font-weight: 600;
        font-size: 1.1rem;
        transition: color 0.3s ease;
    }

        nav a:hover {
            color: #0d47a1;
        }

/* Banner */
.banner {
    position: relative;
    height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f2f5;
    overflow: hidden;
}

.banner-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.banner-caption {
    position: relative;
    z-index: 2;
    color: #0d47a1;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
}

/* Forms */
form input,
form textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: border-color 0.2s ease;
}

    /* Focused input and textarea */
    form input:focus,
    form textarea:focus {
        border-color: #0d47a1;
    }

form button {
    padding: 12px 20px;
    background-color: #0d47a1;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

    form button:hover {
        background-color: #08306b;
    }

/* Login Form Wrapper */
.form-wrapper {
    max-width: 500px;
    margin: 40px auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: center; /* Center content */
}

    .form-wrapper h2 {
        margin-bottom: 20px;
        font-size: 1.8rem;
        text-align: center;
        color: #0d47a1;
    }

    .form-wrapper label {
        font-weight: 600;
        margin-top: 10px;
        display: block;
        text-align: center; /* Align label with input field */
        margin-bottom: 6px; /* Space between label and input */
    }

    /* Ensure login form fields are centered */
    .form-wrapper input,
    .form-wrapper select,
    .form-wrapper textarea {
        width: 100%;
        padding: 12px;
        margin-top: 6px;
        margin-bottom: 16px;
        border: 1px solid #ccc;
        border-radius: 4px;
        max-width: 100%;
    }

/* Form-check for 'Remember Me' checkbox */
.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.form-check-label {
    font-size: 1rem;
    margin-bottom: 0;
}

.form-check-input {
    width: auto;
    margin-top: 3px; /* Align checkbox with label text */
}

/* Adjust the width and padding for the form-control (email/password) */
.form-control {
    max-width: 400px; /* Set a max-width */
    margin: 0 auto; /* Center form fields */
    padding: 12px;
    font-size: 1rem;
}

/* Button styling */
button[type="submit"] {
    display: block;
    margin-top: 20px;
    width: 100%;
    max-width: 400px; /* Button width to match the form fields */
    padding: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    background-color: #0d47a1;
    border: none;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    button[type="submit"]:hover {
        background-color: #08306b; /* Darker on hover */
    }

/* Validation error messages */
.text-danger {
    font-size: 0.875rem; /* Slightly smaller font size for validation messages */
    margin-top: 5px;
}

/* Input field margin */
.form-group {
    margin-bottom: 20px;
}

/* Label font size */
label {
    font-size: 1rem;
    font-weight: 600;
}


/* Table */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 6px;
    overflow: hidden;
}

    .table th,
    .table td {
        padding: 15px;
        border-bottom: 1px solid #e0e0e0;
        vertical-align: middle;
    }

    .table th {
        background-color: #0d47a1;
        color: #fff;
    }

    .table tbody tr:nth-child(even) {
        background-color: #f9f9f9;
    }

    .table tbody tr:hover {
        background-color: #f1f1f1;
    }
    thead.thead-dark {
        background-color: #343a40;
        color: white;
    }

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    gap: 20px; /* space between the boxes */
    padding-bottom: 20px;
    margin-bottom:400px;
}

.service-card {
    background-color: #2C3E50; /* Darker background color */
    color: #fff; /* Text color for contrast */
    padding: 20px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.clickable-card {
    cursor: pointer;
}

.service-card img {
    max-width: 60px; /* Smaller icon size */
    margin-bottom: 15px;
    align-self: center;
}

.service-card h3 {
    font-size: 1.4rem; /* Smaller font size for the title */
    color: #fff;
    margin-bottom: 1px;
    text-align: center; /* Center title */
}

.service-card p {
    color: #bbb; /* Lighter text for description */
    font-size: 1.2rem;
}

.service-card ul {
    list-style-type: none;
    padding-left: 0;
    color: #bbb;
    font-size: 0.95rem;
}

    .service-card ul li {
        margin-bottom: 0px;
    }

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.service-detail {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    color: #333;
}

    .service-detail h1 {
        font-size: 2.5rem;
        color: #2C3E50;
        margin-bottom: 20px;
        text-align: center;
    }

.service-detail-img {
    width: 100%;
    margin: 20px 0;
    border-radius: 8px;
}

.read-more-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 16px;
    background-color: #1a202c; /* Dark Blue/Grey */
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

    .read-more-btn:hover {
        background-color: #4a5568; /* Slightly lighter on hover */
    }


/* Blog Styles */

/* Blog Details Page */
.blog-details {
    background-color: #ffffff; /* Clean white background for the page */
    padding: 50px 30px; /* Increased padding for a more spacious look */
    border-radius: 12px; /* Rounded corners for a softer look */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
    margin: 20px auto;
    max-width: 1200px; /* Ensure the content doesn’t stretch too wide */
    font-family: 'Arial', sans-serif;
}

/* Blog Title */
.blog-title {
    text-align: center;
    color: #0d47a1; /* Primary brand color */
    margin-bottom: 30px;
    font-size: 2.5rem; /* Larger font size for the title */
    font-weight: bold; /* Bold for emphasis */
    letter-spacing: 1px; /* Slight letter spacing for better readability */
}

/* Blog Post Image */
.blog-details .img-fluid {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Softer shadow */
    margin-bottom: 40px; /* Extra margin below the image */
}

/* Blog Content */
.blog-content {
    color: #555; /* Slightly dark gray for readability */
    text-align: justify;
    font-size: 1.2rem; /* Slightly larger font for better legibility */
    line-height: 1.8; /* Increased line-height for easier reading */
    margin-bottom: 40px; /* Extra space at the bottom */
}

/* Blog Meta (Date, Author) */
.blog-details .text-muted {
    text-align: center;
    font-size: 1rem;
    color: #777; /* Light gray for metadata */
    margin-bottom: 20px; /* Space below the meta information */
}

/* Back to Blog Button */
.blog-details .btn-primary {
    background-color: #0d47a1;
    border-color: #0d47a1;
    padding: 12px 25px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

    .blog-details .btn-primary:hover {
        background-color: #0a3581;
        border-color: #0a3581;
    }

/* Blog List Page */
.blog-list-title {
    text-align: center;
    color: #0d47a1;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 30px;
}

/* Blog Post Layout */
.blog-post {
    display: flex;
    margin-bottom: 40px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.blog-post-image {
    width: 200px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 20px;
}

.blog-post-content {
    flex: 1;
}

.blog-post-title {
    font-size: 1.8rem;
    color: #333;
    font-weight: bold;
}

.read-more-link {
    color: #0d47a1;
    font-weight: bold;
    text-decoration: none;
}

    .read-more-link:hover {
        text-decoration: underline;
    }

/* Admin Controls - Edit/Delete */
.blog-post .text-end {
    text-align: right;
    margin-top: 20px;
}

.blog-post .btn-secondary,
.blog-post .btn-danger {
    font-size: 0.9rem;
    margin-left: 10px;
}

/* Blog List Pagination */
.blog-list-container {
    padding: 30px;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
}

/* Small Screen Responsiveness */
@media (max-width: 768px) {
    .blog-details {
        padding: 30px 15px;
    }

    .blog-title {
        font-size: 2rem;
    }

    .blog-content {
        font-size: 1.1rem;
    }

    .blog-details .img-fluid {
        margin-bottom: 20px;
    }

    .blog-post {
        flex-direction: column;
        text-align: center;
    }

    .blog-post-image {
        width: 100%;
        height: auto;
        margin-bottom: 15px;
    }

    .blog-post-content {
        text-align: center;
    }

    .blog-post-title {
        font-size: 1.5rem;
    }

    .read-more-link {
        font-size: 1rem;
    }
}







/* Button Secondary */
.btn-secondary {
    background-color: #6c757d;
    color: #fff;
    padding: 10px 20px;
    text-align: center;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

    .btn-secondary:hover {
        background-color: #5a6268;
    }

/* Footer */
footer {
    background-color: #ffffff;
    border-top: 1px solid #e5e5e5;
    padding: 20px 0;
    text-align: center;
    margin-top: 40px;
}

    footer p {
        color: #777;
        font-size: 1rem;
    }

    footer a {
        color: #0d47a1;
        margin: 0 8px;
        text-decoration: none;
    }

        footer a:hover {
            text-decoration: underline;
        }

.services-section h2 {
    font-size: 3.2rem;
    text-align: center;
    padding-top: 30px;
    color: #0d47a1;
    font-weight: 700;
}

.services-section
p {
    font-size: 1.25rem;
  
    max-width: 95%;
    margin: 0 auto 0px auto;
    line-height: 1.8;
}

.about-section {
    max-width: 960px;
    margin: 0 auto;
    padding: 2rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
}

    .about-section h1,
    .about-section h2 {
        font-weight: 600;
        color: #002244;
    }

    .about-section p.lead {
        font-size: 1.2rem;
        color: #444;
    }

.about-list {
    padding-left: 1.2rem;
}

    .about-list li {
        margin-bottom: 1rem;
    }




/* Responsive Adjustments */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
    }

    .services-header h2 {
        font-size: 2rem ;
        text-align:center;
       
    }
 
    .banner-caption {
        font-size: 2rem;
    }
}
