/* --- GLOBAL STYLES --- */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- HEADER & LOGO --- */
header {
    background-color: #ffffff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    /*position: sticky;*/
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 65px;
    width: auto;
    display: block;
}

/* --- HERO SECTION --- */
.hero {
    background: linear-gradient(rgba(0, 200, 221, 250), rgba(0, 200, 221, 250)), 
                url('../img/hero-bg.jpg') no-repeat center center/cover;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background: #FFD700; /* Gold color */
    color: #333;
    padding: 15px 35px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.btn:hover {
    transform: scale(1.05);
    background: #ffcc00;
}

/* --- SERVICES GRID --- */
.services {
    padding: 80px 0;
    background: #fff;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #003366;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: #82cafa;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent;
}

.service-ads:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid #007BFF;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.service-ads h3 {
    color: #007BFF;
    margin-bottom: 15px;
}

.service-ads a {
    text-decoration: none;
}
  .service-cat {
            padding: 40px 0;
            border-bottom: 1px solid #ddd;
        }
        .service-cat:last-child {
            border-bottom: none;
        }
        .service-cat h2 {
            font-size: 2.2em;
            color: #007BFF;
            text-align: center;
            margin-bottom: 30px;
        }



.service-card {
    background: #f4f7f6;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid #007BFF;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.service-card h3 {
    color: #007BFF;
    margin-bottom: 15px;
}

.service-card a {
    text-decoration: none;
}


        .service-category {
            padding: 40px 0;
            border-bottom: 1px solid #ddd;
        }
        .service-category:last-child {
            border-bottom: none;
        }
        .service-category h2 {
            font-size: 2.2em;
            color: #007BFF;
            text-align: center;
            margin-bottom: 30px;
        }
        .service-list {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
        }
        .service-item {
            background: #f9f9f9;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            transition: transform 0.3s;
        }
        .service-item:hover {
            transform: translateY(-5px);
        }
        .service-item h3 {
            margin-top: 0;
        }
        .btn {
            background-color: #007BFF;
            color: #fff;
            padding: 10px 20px;
            text-decoration: none;
            border-radius: 5px;
            display: inline-block;
            margin-top: 15px;
            transition: background-color 0.3s;
        }
        .btn:hover {
            background-color: #0056b3;
        }





/* --- TESTIMONIALS --- */
.testimonials {
    background: #003366;
    color: white;
    padding: 80px 0;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 5px solid #FFD700;
}

.testimonial-card p {
    font-style: italic;
    font-size: 1.1rem;
}

/* --- FOOTER --- */
footer {
    background: #222;
    color: #bbb;
    padding: 50px 0 20px;
    text-align: center;
}

footer strong {
    color: #fff;
    font-size: 1.2rem;
}

.social-icons {
    margin: 20px 0;
}

.social-icons a {
    color: #fff;
    font-size: 1.5rem;
    margin: 0 15px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #007BFF;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }

    .grid {
        grid-template-columns: 1fr;
    }
}

        .section-title {
            text-align: center;
            font-size: 2.2em;
            margin-bottom: 40px;
            border-bottom: 2px solid #007BFF;
            display: inline-block;
            padding-bottom: 5px;
        }
 .mission-vision {
            text-align: center;
            padding: 40px 0;
        }
        .mission-vision h2 {
            font-size: 1.8em;
            color: #007BFF;
        }
        .team-section {
            padding: 40px 0;
        }
        .team-members {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 30px;
        }
        .team-member {
            text-align: center;
            max-width: 250px;
            background: #f9f9f9;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        .team-member img {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid #007BFF;
        }
        .team-member h3 {
            margin: 10px 0 5px;
        }
        .team-member p {
            font-style: italic;
        }
        .journey-section {
            padding: 40px 0;
            text-align: center;
        }
        .timeline {
            position: relative;
            max-width: 800px;
            margin: 0 auto;
        }
        .timeline::after {
            content: '';
            position: absolute;
            width: 6px;
            background-color: #007BFF;
            top: 0;
            bottom: 0;
            left: 50%;
            margin-left: -3px;
        }
        .timeline-event {
            padding: 10px 40px;
            position: relative;
            background-color: inherit;
            width: 50%;
        }
        .timeline-event::after {
            content: '';
            position: absolute;
            width: 25px;
            height: 25px;
            right: -17px;
            background-color: white;
            border: 4px solid #007BFF;
            top: 15px;
            border-radius: 50%;
            z-index: 1;
        }
        .timeline-event.left {
            left: 0;
        }
        .timeline-event.right {
            left: 50%;
        }
        .timeline-event.left::after {
            left: unset;
            right: -17px;
        }
        .timeline-event.right::after {
            left: -17px;
        }
        .timeline-event-content {
            padding: 20px 30px;
            background-color: #f9f9f9;
            position: relative;
            border-radius: 6px;
        }
        .timeline-event-content h3 {
            margin-top: 0;
        }
        @media (max-width: 600px) {
            .timeline::after { left: 31px; }
            .timeline-event {
                width: 100%;
                padding-left: 70px;
                padding-right: 25px;
            }
            .timeline-event.right { left: 0%; }
            .timeline-event.left::after, .timeline-event.right::after { left: 15px; }
        }


       .contact-section {
            padding: 40px 0;
            display: flex;
            flex-wrap: wrap;
            gap: 40px;
        }
        .contact-form-container {
            flex: 2;
        }
        .contact-info-container {
            flex: 1;
            background: #f4f4f4;
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        .contact-form {
            display: flex;
			padding: 30px;
            flex-direction: column;
        }
        .contact-form label {
            font-weight: bold;
            margin-bottom: 5px;
        }
        .contact-form input, .contact-form select, .contact-form textarea {
            width: 100%;
			padding: 10px;
            margin-bottom: 20px;
            border: 1px solid #ccc;
            border-radius: 5px;
            box-sizing: border-box; /* Ensures padding doesn't affect total width */
        }
        .contact-form textarea {
            resize: vertical;
            min-height: 150px;
        }
        .btn-submit {
            background-color: #007BFF;
            color: #fff;
            padding: 15px 25px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 1.1em;
            transition: background-color 0.3s;
        }
        .btn-submit:hover {
            background-color: #0056b3;
        }
        .contact-info-container h3 {
            color: #007BFF;
            margin-top: 0;
        }
        .contact-info-container p {
            margin: 0 0 10px 0;
        }
        .social-icons {
            margin-top: 20px;
        }
        .social-icons a img {
            height: 30px;
            margin-right: 10px;
        }
        .google-map {
            margin-top: 40px;
			padding: 10px;
            text-align: center;
        }
        .google-map h3 {
            margin-bottom: 20px;
        }

        footer .social-icons a img {
            height: 24px;
            margin: 0 5px;
        }



       .blog-content {
            display: flex;
            flex-wrap: wrap;
            padding: 40px 0;
        }
        .main-content {
            flex: 3;
            padding-right: 20px;
        }
        .sidebar {
            flex: 1;
            padding-left: 20px;
        }
        .search-box {
            margin-bottom: 20px;
        }
        .search-box input[type="text"] {
            width: 100%;
            padding: 10px;
            border: 1px solid #ccc;
            border-radius: 5px;
        }
        .categories h3 {
            font-size: 1.2em;
            color: #007BFF;
            border-bottom: 2px solid #eee;
            padding-bottom: 5px;
        }
        .categories ul {
            list-style: none;
            padding: 0;
        }
        .categories li {
            margin-bottom: 10px;
        }
        .categories a {
            text-decoration: none;
            color: #555;
            display: block;
            padding: 5px 10px;
            background: #f4f4f4;
            border-radius: 5px;
            transition: background-color 0.3s;
        }
        .categories a:hover {
            background-color: #e2e2e2;
        }
        .blog-post-card {
            background: #f9f9f9;
            padding: 20px;
            border-radius: 8px;
            margin-bottom: 30px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            display: flex;
            align-items: flex-start;
        }
        .post-image {
            width: 250px;
            height: 150px;
            flex-shrink: 0;
            margin-right: 20px;
            overflow: hidden;
            border-radius: 5px;
        }
        .post-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .post-content h2 {
            margin-top: 0;
            font-size: 1.8em;
            color: #007BFF;
        }
        .post-meta {
            font-size: 0.9em;
            color: #777;
            margin-bottom: 10px;
        }
        .read-more {
            text-decoration: none;
            color: #007BFF;
            font-weight: bold;
        }
        footer {
            background: #333;
            color: #fff;
            text-align: center;
            padding: 20px 0;
            margin-top: 20px;
        }
        .social-icons a img {
            height: 24px;
            margin: 0 5px;
        }


  .case-study {
            background: #f9f9f9;
            padding: 40px;
            margin-bottom: 40px;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }
        .case-study h2 {
            color: #007BFF;
            font-size: 1.8em;
            margin-top: 0;
        }
        .case-study h3 {
            font-size: 1.4em;
        }
        .case-study p {
            margin-bottom: 20px;
        }
        .testimonial-quote {
            font-style: italic;
            border-left: 4px solid #007BFF;
            padding-left: 20px;
            margin-top: 20px;
        }
        .testimonial-quote p {
            margin: 0;
        }
        .cta-section {
            background: #007BFF;
            color: #fff;
            text-align: center;
            padding: 60px 20px;
            margin-top: 40px;
        }
        .cta-section h2 {
            font-size: 2.5em;
            margin-top: 0;
        }
        .btn {
            background-color: #fff;
            color: #007BFF;
            padding: 15px 30px;
            text-decoration: none;
            border-radius: 5px;
            font-size: 1.1em;
            font-weight: bold;
            transition: background-color 0.3s, color 0.3s;
        }
        .btn:hover {
            background-color: #e6e6e6;
        }


@media (max-width: 992px) {
    /* Stack the main content and sidebar */
    .blog-content {
        flex-direction: column;
        padding: 20px 15px;
    }

    .main-content, .sidebar {
        padding: 0;
        width: 100%;
    }

    /* Add space between content and sidebar when stacked */
    .sidebar {
        margin-top: 40px;
    }
}


@media (max-width: 600px) {
    .blog-post-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .post-image {
        width: 100%; /* Make image full width of card */
        height: auto;
        margin-right: 0;
        margin-bottom: 15px;
    }

    .post-image img {
        width: 100%;
        height: 200px; /* Consistent height for mobile */
    }
}





/* Whatsapp floating Button to contact*/
.open-whatsapp {
  background-color:#009900;
  color: white;
  text-align:center;
  font-weight:bold;
  padding: 1px 1px;
  border: none;
  cursor: pointer;
  opacity: 1;
  position: fixed;
  bottom: 153px;
  right: 8px;
  width: 115px;
  height:25px;
  border-radius: 8px;
   	-moz-transform:rotate(+90deg);
    -ms-transform:rotate(+90deg);
    -o-transform:rotate(+90deg);
    -webkit-transform:rotate(+90deg);
    transform-origin: top right;  

}

/* Whatsapp floating Button to contact*/
.open-whatsappgp {
  background-color:#009900;
  color: white;
  text-align:center;
  font-weight:bold;
  padding: 1px 1px;
  border: none;
  cursor: pointer;
  opacity: 1;
  position: fixed;
  bottom: 250px;
  right: 8px;
  width: 115px;
  height:50px;
  border-radius: 8px;
   	-moz-transform:rotate(+90deg);
    -ms-transform:rotate(+90deg);
    -o-transform:rotate(+90deg);
    -webkit-transform:rotate(+90deg);
    transform-origin: top right;  

}








/* facebook floating Button to contact*/
.open-facebook {
  
  padding: 1px 1px;
  border: none;
  cursor: pointer;
  opacity: 1;
  position: fixed;
  bottom: 143px;
  left: 4px;
  width: 155px;
  height:25px;
  border-radius: 8px;

}
/* Button used to open the contact form - fixed at the bottom of the page */
.open-button {
  background-color:#FFCC00;
  color: black;
  font-weight:bold;
  padding: 0.5px 0.5px;
  border: none;
  cursor: pointer;
  opacity: 1;
  position: fixed;
  bottom: 23px;
  right: 8px;
  width: 120px;
  height:25px;
  border-radius: 8px;
  
  	-moz-transform:rotate(+90deg);
    -ms-transform:rotate(+90deg);
    -o-transform:rotate(+90deg);
    -webkit-transform:rotate(+90deg);
    transform-origin: top right;  
}

/* The popup form - hidden by default */
.form-popup {
  display: none;
  position: fixed;
  bottom: 0;
  right: 15px;
  border: 3px solid #e98cff;
  z-index: 9;
}

/* Add styles to the form container */
.form-container {
  max-width: 300px;
  padding: 10px;
  background-color: #f3ccfc;
}

.rotated
{
	-moz-transform:rotate(-90deg);
    -ms-transform:rotate(-90deg);
    -o-transform:rotate(-90deg);
    -webkit-transform:rotate(-90deg);
    transform-origin: top left;  
}


/* Full-width input fields */
.form-container input[type=text], .form-container input[type=password] {
  width: 100%;
  padding: 15px;
  margin: 1px 0 1px 0;
  border: none;
  background: #f1f1f1;
}

/* When the inputs get focus, do something */
.form-container input[type=text]:focus,.form-container input[type=text]:focus, .form-container input[type=password]:focus {
  background-color: white;
  outline: none;
}

/* Set a style for the submit/login button */
.form-container .btn {
  background-color: #4CAF50;
  color: white;
  padding: 16px 20px;
  border: none;
  cursor: pointer;
  width: 100%;
  margin-bottom:10px;
  opacity: 0.8;
}

/* Add a red background color to the cancel button */
.form-container .cancel {
  background-color: red;
}

/* Add some hover effects to buttons */
.form-container .btn:hover, .open-button:hover {
  opacity: 1;
}



/* Container to allow horizontal scrolling on mobile */
.table-container {
    width: 100%;
    overflow-x: auto;
    margin: 20px 0;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling for iOS */
}

/* Ensure the table takes full width and doesn't collapse */
table {
    width: 100%;
    min-width: 600px; /* Forces scrollbar on mobile instead of squishing text */
    border-collapse: collapse;
}

/* Styling for better readability on mobile */
table td, table th {
    padding: 12px 8px;
    border: 1px solid #ddd;
    font-size: 14px; /* Slightly smaller for mobile utility */
}

/* Optional: Add a background to the header row */
table tr:first-child {
    background-color: #003366;
    color: white;
}

table tr:first-child h3 {
    color: white;
    margin: 0;
    font-size: 1rem;
}