/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
}

.navbar {
  	position: fixed;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    background: #1d2e3e;
    padding: 10px 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.logo1 img,
.logo2 img {
    height: 80px;
    transition: transform 0.3s;
}

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

.logo1 img:hover,
.logo2 img:hover {
    transform: scale(1.1);
}

.menu-icon {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
}

.menu-icon span {
    height: 3px;
    width: 25px;
    background: white;
    margin: 4px;
    transition: all 0.3s;
}

.nav-links {
    list-style: none;
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 20px;
    width: 200px;
    background: #1d2e3e;
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-links.active {
    display: flex;
}

.nav-links li {
    margin: 10px 0;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
}

.nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

@media screen and (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 10px;
    }

    .menu-icon {
        top: 85%;
        right: 10px;
    }

    .nav-links {
        right: 10px;
        width: 100%;
        border-radius: 0;
    }

    .nav-links li {
        margin: 8px 0;
    }
}

/* Blog Styles */
.blog-article {
    padding: 60px 20px;
    text-align: center;
    background-color: #f9f9f9;
}

.welcome-section {
    background-color: #f0f0f0;
    padding: 40px 20px;
    text-align: center;
    margin-top: 140px;
}

.welcome-container {
    max-width: 800px;
    margin: 0 auto;
}

.welcome-section h1 {
    font-size: 2.5rem;
    color: #333;
}

.welcome-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
}

.tiles-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 40px 20px;
    background-color: #ffffff;
}

.tile {
    width: 100%;
    max-width: 100%;
    height: 300px;
    perspective: 1000px;
}

.tile-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.tile:hover .tile-inner {
    transform: rotateY(180deg);
}

.tile-front,
.tile-back {
    width: 100%;
    height: 100%;
    position: absolute;
    backface-visibility: hidden;
    border-radius: 10px;
}

.tile-front {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    color: #000;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.tile-front img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s;
}

.tile-front img:hover {
    transform: scale(1.05);
}

.tile-front h2 {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
}

.tile-back {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #1d2e3e;
    color: white;
    transform: rotateY(180deg);
    border-radius: 10px;
    padding: 20px;
}

.tile-back h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.tile-back p {
    font-size: 1rem;
    line-height: 1.4;
    padding: 0 10px;
}




.contact-section {
    background-color: #f0f0f0;
    padding: 40px 20px;
    text-align: center;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-section h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}

.contact-section p {
    margin-bottom: 20px;
}

.form-group {
    width: 100%;
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

button[type="submit"] {
    padding: 10px 20px;
    background-color: #1d2e3e;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s, transform 0.3s;
}

button[type="submit"]:hover {
    background-color: #2a3d52;
    transform: scale(1.05);
}

.socials {
    margin-top: 20px;
}

.socials h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

.socials a {
    margin: 0 10px;
}

.socials img {
    width: 80px;
    height: 80px;
    transition: transform 0.3s;
}

.socials img:hover {
    transform: scale(1.1);
}

/* Add this CSS to your styles.css or within a <style> tag in your HTML */

.container {
    max-width: 800px; /* Adjust the width as needed */
    margin: 0 auto; /* Center the container */
    padding: 0 15px; /* Add some padding for better readability */
}

.container img {
    max-width: 100%; /* Ensures the image scales down if it's larger than the container */
    height: auto;    /* Maintains the aspect ratio */
    display: block;  /* Removes any extra space below the image */
    margin: 0 auto;  /* Centers the image */
}

.container {
    max-width: 800px; /* Set a max-width for better readability */
    margin: 0 auto;
    padding-top: 150px; /* Adds top padding to the start of the article */
}

h1, h2, h3 {
    color: #D35400; /* Dark orange color for the titles */
    margin-bottom: 20px;
}

p, .custom-list-item {
    font-size: 18px; /* Slightly larger font size for readability */
    line-height: 1.6;
    margin-bottom: 20px; /* Adds space between paragraphs */
}

.image-placeholder {
    margin: 40px 0; /* Adds spacing around images */
}

.custom-list-item {
    padding-left: 20px; /* Add padding to align with the text */
    position: relative;
}

.custom-list-item::before {
   
    color: #D35400; /* Dark orange color for the symbol */
    position: absolute;
    left: 0;
}

.container img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

hr {
    border: 0;
    height: 2px;
    background-color: #D35400; /* Dark orange color for horizontal lines */
    margin: 40px 0; /* Add spacing around horizontal lines */
}

a {
    color: #D35400; /* Dark orange color for links */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.contact-page-section {
    padding-top: 150px;
    /* Other styles for this section can go here */
}

/* General Services Section Styling */
.services-section {
    padding: 4rem 2rem; /* Space inside the section */
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    align-items: center; /* Horizontally centers the content */
    justify-content: center; /* Vertically centers the content */
    min-height: 100vh; /* Makes the section fill the screen height */
    margin-top: 2rem; /* Adds additional space above the section */
}

/* Main Title */
.services-section h1 {
    font-size: 3.5rem; /* Increased font size */
    margin-bottom: 2rem; /* Space between title and content */
    text-transform: uppercase;
    color: #333;
}

/* Service Blocks */
.service {
    margin: 2rem 0; /* Space between sections */
    padding: 2rem;
    max-width: 800px; /* Ensures content doesn't stretch too wide */
    width: 100%; /* Makes the block responsive */
    text-align: left; /* Text stays aligned left */
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service:hover {
    transform: scale(1.02); /* Smooth hover effect */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

/* Headings with Icons */
.service h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service h2 img {
    width: 24px;
    height: 24px;
}

/* List Styling */
.service ul {
    list-style-type: none;
    padding: 0;
}

.service ul li {
    margin: 0.8rem 0; /* Space between list items */
    font-size: 1.1rem;
}

.service ul li strong {
    color: #0073e6;
    cursor: pointer;
    text-decoration: none;
}

.service ul li a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

.service ul li a:hover {
    color: #005bb5;
}

/* General Styling for Image Centering */
.center-image {
    display: block; /* Ensures the image is treated as a block element */
    margin: 0 auto; /* Horizontally centers the image */
    text-align: center;
    max-width: 100%; /* Optional: Ensures image scales responsively */
}

.about-section {
    margin-top: 200px; /* Move the section down */
    display: flex;
    justify-content: center;
    text-align: center;
}

.about-container {
    max-width: 800px;
    padding: 20px;
}

.service-area-section, .contact-section {
    padding: 60px 20px;
    text-align: center;
}

.map-responsive {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
}

.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

.map-wrapper {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
  box-sizing: border-box;
}

.map-wrapper iframe {
  width: 100%;
  height: 300px;
  border: 0;
  display: block;
}

@media (max-width: 480px) {
  .map-wrapper iframe {
    height: 250px;
  }
}

.NIC-badge {
    width: 150px; /* Adjust size as needed */
    height: auto; /* Keeps aspect ratio */
    display: block;
    margin: 10px auto; /* Centers the image */
}

html {
    scroll-behavior: smooth;
}

.read-more-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
    font-size: 16px;
}

.read-more-btn:hover {
    background-color: #0056b3;
}