/* Base Styles */
:root {
    --primary-color: #1A2B4C;
    /* Navy Blue */
    --secondary-color: #6C757D;
    /* Steel Gray */
    --light-color: #F2F2F2;
    /* Light Gray */
    --accent-color: #FF9900;
    /* Changed from #FF6600 to #FF9900 as requested */
    --text-color: #333333;
    --text-light: #FFFFFF;
    --bg-dark: #121212;
    --bg-light: #FFFFFF;
    --card-dark: #1E1E1E;
    --card-light: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    transition: all 0.3s ease;
}

body.dark-mode {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

body.light-mode {
    background-color: var(--bg-light);
    color: var(--text-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: #E55C00;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-secondary:hover {
    background-color: #0F1F3D;
    transform: translateY(-2px);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    background-color: rgba(26, 43, 76, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-light);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.nav-list {
    display: flex;
    align-items: center;
}

.nav-list li {
    margin-left: 30px;
    position: relative;
}

.nav-list a {
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-list a:hover {
    color: var(--accent-color);
}

.nav-list a.active {
    color: var(--accent-color);
}

.nav-list a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
}

.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    font-size: 1.2rem;
    position: relative;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle .fa-sun {
    display: none;
}

body.light-mode .theme-toggle .fa-sun {
    display: block;
}

body.light-mode .theme-toggle .fa-moon {
    display: none;
}

/* Hero Section */
.hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0F1F3D 100%);
    color: var(--text-light);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    /* Add this to ensure rounded corners on the image itself */
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* Services Overview */
.services-overview {
    padding: 80px 0;
}

.services-overview h2 {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.services-overview h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--card-light);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.dark-mode .service-card {
    background-color: var(--card-dark);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 102, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--accent-color);
    font-size: 1.8rem;
}

/* Why Choose Us */
.why-choose-us {
    padding: 80px 0;
    background-color: var(--light-color);
}

.dark-mode .why-choose-us {
    background-color: #1E1E1E;
}

.why-choose-us h2 {
    text-align: center;
    margin-bottom: 50px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 30px;
    background-color: var(--card-light);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.dark-mode .stat-item {
    background-color: var(--card-dark);
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.dark-mode .stat-label {
    color: #AAAAAA;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0F1F3D 100%);
    color: var(--text-light);
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 20px;
}

.cta-section p {
    margin-bottom: 30px;
    font-size: 1.2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about p {
    opacity: 0.8;
    text-align: justify;
    hyphens: none;
    overflow-wrap: normal;
    word-break: normal;
}

.footer h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links ul li,
.footer-services ul li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-services a {
    transition: color 0.3s ease;
    opacity: 0.8;
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--accent-color);
    opacity: 1;
}

.footer-contact ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--accent-color);
}

.footer-contact a {
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
    padding-bottom: 20px;
}

.footer-bottom p {
    margin-bottom: 0;
}

.footer-bottom a {
    color: var(--accent-color);
}

/* Scroll to Top */
.scroll-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Page Header */
.page-header {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0F1F3D 100%);
    color: var(--text-light);
    text-align: center;
}

.page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Company Intro */
.company-intro {
    padding: 80px 0;
}

.company-intro .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.intro-content {
    flex: 1;
    min-width: 300px;
}

.intro-image {
    flex: 1;
    min-width: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    /* Add this to ensure rounded corners on the image itself */
}

/* Vision Mission */
.vision-mission {
    padding: 80px 0;
    background-color: var(--light-color);
}

.dark-mode .vision-mission {
    background-color: #1E1E1E;
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.vision-card,
.mission-card {
    padding: 40px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.vision-card {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.mission-card {
    background-color: var(--accent-color);
    color: var(--text-light);
}

.vision-card h3,
.mission-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

/* Leadership */
.leadership {
    padding: 80px 0;
}

.leadership h2 {
    text-align: center;
    margin-bottom: 50px;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.leader-card {
    background-color: var(--card-light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.dark-mode .leader-card {
    background-color: var(--card-dark);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.leader-card:hover {
    transform: translateY(-10px);
}

.leader-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.leader-card h3 {
    font-size: 1.5rem;
    margin: 20px 20px 5px;
}

.leader-title {
    color: var(--accent-color);
    font-weight: 500;
    margin: 0 20px 15px;
}

.leader-bio {
    padding: 0 20px 20px;
    opacity: 0.8;
}

/* Timeline */
.timeline-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.dark-mode .timeline-section {
    background-color: #1E1E1E;
}

.timeline-section h2 {
    text-align: center;
    margin-bottom: 50px;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--accent-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    justify-content: space-between;
}

.timeline-year {
    width: 100px;
    height: 100px;
    background-color: var(--accent-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    z-index: 1;
}

.timeline-content {
    width: calc(50% - 80px);
    padding: 20px;
    background-color: var(--card-light);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.dark-mode .timeline-content {
    background-color: var(--card-dark);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
}

.timeline-content h3 {
    color: var(--accent-color);
    margin-bottom: 10px;
}

/* Services Detail */
.services-detail {
    padding: 80px 0;
}

.service-detail-card {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
    scroll-margin-top: 60px;
}

.service-detail-card.reverse {
    flex-direction: row-reverse;
}

.service-detail-image {
    flex: 1;
    min-width: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-detail-image img {
    width: 100%;
    /* height: 100%; */
    object-fit: cover;
    display: block;
    border-radius: 8px;
    /* Add this to ensure rounded corners on the image itself */
}

.service-detail-content {
    flex: 1;
    min-width: 300px;
}

.service-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.service-features i {
    color: var(--accent-color);
    margin-right: 10px;
    margin-top: 3px;
}

/* Industry Specialization */
.industry-specialization {
    padding: 80px 0;
    background-color: var(--light-color);
}

.dark-mode .industry-specialization {
    background-color: #1E1E1E;
}

.industry-specialization h2 {
    text-align: center;
    margin-bottom: 20px;
}

.industry-specialization p {
    text-align: center;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.industry-card {
    background-color: var(--card-light);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.dark-mode .industry-card {
    background-color: var(--card-dark);
}

.industry-card:hover {
    transform: translateY(-10px);
}

.industry-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(26, 43, 76, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.dark-mode .industry-icon {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
}

.industry-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.dark-mode .industry-card h3 {
    color: var(--accent-color);
}

/* Coverage Area */
.coverage-area {
    padding: 80px 0;
}

.coverage-area h2 {
    text-align: center;
    margin-bottom: 20px;
}

.coverage-area p {
    text-align: center;
    margin-bottom: 40px;
}

.coverage-map {
    margin-bottom: 40px;
    text-align: center;
}

.coverage-map img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.city-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.city-column h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.dark-mode .city-column h3 {
    color: var(--accent-color);
}

.city-column ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.city-column ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* How It Works */
.how-it-works {
    padding: 80px 0;
    background-color: var(--light-color);
}

.dark-mode .how-it-works {
    background-color: #1E1E1E;
}

.how-it-works h2 {
    text-align: center;
    margin-bottom: 50px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    counter-reset: step-counter;
}

.process-step {
    position: relative;
    text-align: center;
    padding: 30px 20px;
    background-color: var(--card-light);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.dark-mode .process-step {
    background-color: var(--card-dark);
}

.process-step:hover {
    transform: translateY(-10px);
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    position: relative;
}

.step-number::before {
    counter-increment: step-counter;
    content: counter(step-counter);
}

.process-step h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.dark-mode .process-step h3 {
    color: var(--accent-color);
}

/* Blog Controls */
.blog-controls {
    padding: 20px 0;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.dark-mode .blog-controls {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.blog-controls .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.view-toggle {
    display: flex;
    gap: 10px;
}

.view-btn {
    width: 40px;
    height: 40px;
    background-color: var(--card-light);
    border: none;
    border-radius: 4px;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.dark-mode .view-btn {
    background-color: var(--card-dark);
    color: var(--text-light);
}

.view-btn.active {
    background-color: var(--accent-color);
    color: var(--text-light);
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 10px;
}

#sort-select {
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid #ddd;
    background-color: var(--card-light);
    color: var(--text-color);
}

.dark-mode #sort-select {
    background-color: var(--card-dark);
    border-color: #444;
    color: var(--text-light);
}

/* Blog Posts */
.blog-posts {
    padding: 40px 0 80px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.posts-grid.list-view {
    grid-template-columns: 1fr;
}

.blog-card {
    background-color: var(--card-light);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.dark-mode .blog-card {
    background-color: var(--card-dark);
}

.posts-grid.grid-view {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

.posts-grid.grid-view .blog-card {
    flex: 1 1 calc(50% - 16px);
    /* 2 columns with spacing */
    box-sizing: border-box;
    max-width: 100%;
}


.posts-grid.list-view .blog-card {
    flex-direction: row;
    align-items: center;
}

.posts-grid.list-view .blog-thumbnail {
    width: 200px;
    height: 200px;
    flex-shrink: 0;
}

.posts-grid.list-view .blog-content {
    padding: 20px;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-thumbnail {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
}

.blog-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
    max-width: 100%;
}

.blog-card:hover .blog-thumbnail img {
    transform: scale(1.1);
}

.blog-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.dark-mode .blog-meta {
    color: #AAAAAA;
}

.blog-title {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.blog-excerpt {
    margin-bottom: 20px;
    flex: 1;
}

.read-more {
    color: var(--accent-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.read-more:hover {
    gap: 10px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.page-btn {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    border: none;
    background-color: var(--card-light);
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dark-mode .page-btn {
    background-color: var(--card-dark);
    color: var(--text-light);
}

.page-btn.active {
    background-color: var(--accent-color);
    color: var(--text-light);
}

.page-btn.next {
    width: auto;
    padding: 0 15px;
}

/* Blog Post */
.blog-post-container {
    padding: 150px 0 80px;
}

.blog-post {
    max-width: 900px;
    margin: 0 auto;
}

.blog-post-header {
    margin-bottom: 40px;
}

.blog-thumbnail {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.blog-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.dark-mode .blog-meta {
    color: #AAAAAA;
}

.blog-post-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.blog-tags {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.tag {
    background-color: rgba(26, 43, 76, 0.1);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.dark-mode .tag {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
}

.blog-post-content {
    line-height: 1.8;
}

.blog-post-content h2 {
    margin: 40px 0 20px;
    color: var(--primary-color);
}

.dark-mode .blog-post-content h2 {
    color: var(--accent-color);
}

.blog-post-content h3 {
    margin: 30px 0 15px;
}

.blog-post-content ul,
.blog-post-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.blog-post-content li {
    margin-bottom: 10px;
}

.blog-image {
    margin: 30px 0;
}

.blog-image img {
    border-radius: 8px;
    width: 100%;
}

.image-caption {
    text-align: center;
    font-size: 0.9rem;
    margin-top: 10px;
    opacity: 0.7;
}

.blog-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
}

.blog-table th,
.blog-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.dark-mode .blog-table th,
.dark-mode .blog-table td {
    border-bottom-color: #444;
}

.blog-table th {
    background-color: rgba(26, 43, 76, 0.1);
    color: var(--primary-color);
    font-weight: 600;
}

.dark-mode .blog-table th {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
}

.tech-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.tech-feature {
    text-align: center;
    padding: 30px 20px;
    background-color: rgba(26, 43, 76, 0.05);
    border-radius: 8px;
}

.dark-mode .tech-feature {
    background-color: rgba(255, 255, 255, 0.05);
}

.tech-feature i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.tech-feature h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.dark-mode .tech-feature h3 {
    color: var(--accent-color);
}

.blog-quote {
    border-left: 4px solid var(--accent-color);
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
}

.blog-quote cite {
    display: block;
    margin-top: 10px;
    font-style: normal;
    font-weight: 500;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.solution-card {
    text-align: center;
    padding: 20px;
    background-color: rgba(26, 43, 76, 0.05);
    border-radius: 8px;
}

.dark-mode .solution-card {
    background-color: rgba(255, 255, 255, 0.05);
}

.solution-card i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.solution-card h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.dark-mode .solution-card h4 {
    color: var(--accent-color);
}

.tech-challenge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.tech-challenge {
    padding: 20px;
    background-color: rgba(255, 102, 0, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--accent-color);
}

.tech-challenge h4 {
    margin-bottom: 10px;
    color: var(--accent-color);
}

.blog-conclusion {
    background-color: rgba(26, 43, 76, 0.05);
    padding: 30px;
    border-radius: 8px;
    margin: 40px 0;
}

.dark-mode .blog-conclusion {
    background-color: rgba(255, 255, 255, 0.05);
}

.blog-conclusion h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.dark-mode .blog-conclusion h3 {
    color: var(--accent-color);
}

.blog-share {
    margin: 60px 0;
    padding: 30px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.dark-mode .blog-share {
    border-top-color: rgba(255, 255, 255, 0.1);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.blog-share h3 {
    margin-bottom: 20px;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.share-btn {
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.share-btn.facebook {
    background-color: #3b5998;
    color: white;
}

.share-btn.twitter {
    background-color: #1da1f2;
    color: white;
}

.share-btn.linkedin {
    background-color: #0077b5;
    color: white;
}

.share-btn.whatsapp {
    background-color: #25d366;
    color: white;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Related Posts */
.related-posts {
    margin: 60px 0;
}

.related-posts h2 {
    margin-bottom: 30px;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.related-card {
    background-color: var(--card-light);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.dark-mode .related-card {
    background-color: var(--card-dark);
}

.related-card:hover {
    transform: translateY(-5px);
}

.related-thumbnail {
    height: 200px;
}

.related-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-content {
    padding: 20px;
}

.related-content h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.read-more {
    color: var(--accent-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.read-more:hover {
    gap: 10px;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
}

.contact-section .container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.info-item {
    display: flex;
    margin-bottom: 30px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 153, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.info-content h3 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.dark-mode .info-content h3 {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 153, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.dark-mode .social-links a {
    color: var(--accent-color);
}

.social-links a:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-3px);
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background-color: var(--card-light);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.dark-mode .contact-form {
    background-color: var(--card-dark);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    background-color: var(--card-light);
    color: var(--text-color);
}

.dark-mode .form-group input,
.dark-mode .form-group textarea,
.dark-mode .form-group select {
    background-color: var(--card-dark);
    border-color: #444;
    color: var(--text-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Map Section */
.map-section {
    padding: 0 0 80px;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 30px;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
}

/* Responsive Styles */
@media (max-width: 992px) {

    .hero .container,
    .company-intro .container {
        flex-direction: column;
    }

    .hero-content,
    .intro-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: column;
    }

    .timeline-year {
        margin-bottom: 20px;
    }

    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px;
    }

    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 80px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .nav-list {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 1000;
    }

    .nav-list.active {
        transform: translateY(0);
    }

    .nav-list li {
        margin: 15px 0;
    }

    .nav-toggle {
        display: block;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .posts-grid.list-view .blog-card {
        flex-direction: column;
    }

    .posts-grid.list-view .blog-thumbnail {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .service-detail-card,
    .service-detail-card.reverse {
        flex-direction: column;
    }

    .service-detail-image,
    .service-detail-content {
        min-width: 100%;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .city-list {
        grid-template-columns: 1fr;
    }
}

/* Animation Classes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* Custom Line */
.custom-line {
    border: 0;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 20px 0;
}

.dark-mode .custom-line {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Blog Table of Contents */
.toc {
    background-color: rgba(26, 43, 76, 0.05);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.dark-mode .toc {
    background-color: rgba(255, 255, 255, 0.05);
}

.toc h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.dark-mode .toc h3 {
    color: var(--accent-color);
}

.toc ul {
    list-style: none;
}

.toc li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
}

.toc li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background-color: var(--accent-color);
    border-radius: 50%;
}

.toc a {
    transition: color 0.3s ease;
}

.toc a:hover {
    color: var(--accent-color);
}

.toc a.h2 {
    font-weight: 500;
}

.toc a.h3 {
    font-weight: 400;
    font-size: 0.9rem;
    padding-left: 15px;
}

/* Process Steps Numbers */
.process-step .step-number {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Fix for theme toggle icons */
.theme-toggle .fa-sun,
.theme-toggle .fa-moon {
    transition: opacity 0.3s ease;
}

/* Custom styling for blog post images */
.blog-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

/* Additional utility classes */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.p-20 {
    padding: 20px;
}

/* Fix for dark mode form placeholders */
.dark-mode ::placeholder {
    color: #aaa;
    opacity: 1;
}

/* Fix for dark mode select dropdown */
.dark-mode select option {
    background-color: var(--card-dark);
    color: var(--text-light);
}

/* Responsive iframe */
.responsive-iframe {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.responsive-iframe iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* By Ayush for about html*/

.company-intro p,
.vision-card p,
.mission-card p,
.leadership p,
.timeline-section p {
    text-align: justify;
    line-height: 1.6;
}


/* By Ayush for service html*/

.service-detail-content p,
.service-detail-content li {
    text-align: justify;
    line-height: 1.6;
}

/* By Ayush for blog html*/

.blog-excerpt {
    text-align: justify;
    word-break: keep-all;
    overflow-wrap: normal;
    hyphens: none;
    margin-bottom: 20px;
    flex: 1;
}

/* Mobile-specific adjustments for blog page html*/
@media (max-width: 600px) {
    .blog-thumbnail {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .blog-thumbnail img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }
}

@media (max-width: 600px) {
    .posts-grid.grid-view .blog-card {
        flex: 1 1 100%;
    }
}

html,
body {
    overflow-x: hidden;
}

/* chnages for blog page html till above*/

/* blog1 and soo on resposnsive styles */

/* Mobile and Small Device Blog Styles (under 768px) */
@media (max-width: 768px) {

    /* Blog Post Container */
    .blog-post-container {
        padding: 120px 0 40px;
    }

    /* Blog Header */
    .blog-post-header {
        margin-bottom: 30px;
    }

    .blog-thumbnail {
        height: auto;
        max-height: 250px;
        margin-bottom: 15px;
    }

    .blog-post-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .blog-meta {
        flex-wrap: wrap;
        gap: 10px;
        font-size: 0.8rem;
    }

    .blog-tags {
        flex-wrap: wrap;
    }

    /* Blog Content */
    .blog-post-content {
        font-size: 0.95rem;
    }

    .blog-post-content h2 {
        font-size: 1.5rem;
        margin: 30px 0 15px;
    }

    .blog-post-content h3 {
        font-size: 1.3rem;
        margin: 25px 0 12px;
    }

    /* Blog Images */
    .blog-image {
        margin: 20px 0;
    }

    .image-caption {
        font-size: 0.8rem;
    }

    /* Tables */
    .blog-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    /* Feature Grids */
    .tech-features,
    .solution-grid,
    .tech-challenge-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .tech-feature,
    .solution-card,
    .tech-challenge {
        padding: 20px 15px;
    }

    /* Blockquotes */
    .blog-quote {
        padding-left: 15px;
        margin: 20px 0;
    }

    /* Share Buttons */
    .blog-share {
        margin: 40px 0;
        padding: 20px 0;
    }

    .share-buttons {
        flex-direction: column;
    }

    .share-btn {
        justify-content: center;
        padding: 8px 15px;
    }

    /* Related Posts */
    .related-posts {
        margin: 40px 0;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    /* Blog Meta Info */
    .blog-date,
    .blog-author,
    .blog-read-time {
        display: flex;
        align-items: center;
    }

    .blog-date::before,
    .blog-author::before,
    .blog-read-time::before {
        content: "•";
        margin: 0 5px;
    }

    .blog-date:first-child::before {
        display: none;
    }

    /* Lists and Tables */
    .blog-post-content ul,
    .blog-post-content ol {
        padding-left: 15px;
    }

    /* Conclusion Box */
    .blog-conclusion {
        padding: 20px;
    }

    /* Header adjustments for blog pages */
    .header {
        padding: 10px 0;
    }

    /* Fix for long words breaking layout */
    .blog-post-content {
        overflow-wrap: break-word;
        word-wrap: break-word;
        hyphens: auto;
    }
}

/* Additional Mobile Optimizations (under 480px) */
@media (max-width: 480px) {
    .blog-post-title {
        font-size: 1.6rem;
    }

    .blog-thumbnail {
        max-height: 200px;
    }

    .blog-meta {
        font-size: 0.75rem;
    }

    .tag {
        padding: 3px 10px;
        font-size: 0.7rem;
    }

    .blog-post-content h2 {
        font-size: 1.3rem;
    }

    .blog-post-content h3 {
        font-size: 1.1rem;
    }
}

/* Fix for iOS viewport units */
@supports (-webkit-touch-callout: none) {
    .blog-post-container {
        padding: calc(120px + env(safe-area-inset-top)) 0 calc(40px + env(safe-area-inset-bottom));
    }
}