:root {
    --primary: #2563eb; /* Blue */
    --primary-dark: #1d4ed8; /* Darker Blue */
    --secondary: #111111; /* Near Black */
    --accent: #8b5cf6; /* Purple */
    --light: #f8fafc;
    --gray: #64748b;
    --success: #2563eb;
    --tagline-color: #e2e8f0; /* Light gray for tagline */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8fafc;
    color: #1e293b; /* Darker text color for better visibility */
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header & Navigation */
header {
    background: linear-gradient(135deg, #0f172a 0%, #2563eb 50%, #8b5cf6 100%);
    color: white;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    margin-right: 35px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: 700;
    position: relative;
}

.logo-img {
    height: 40px;
    width: auto;
}

.tagline {
    position: absolute;
    bottom: -15px;
    left: 50px;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--tagline-color, #e2e8f0);
    white-space: nowrap;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;  
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Page Content */
.page-content {
    padding-top: 100px;
    min-height: 100vh;
}

.page-header {
    background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(37, 99, 235, 0.9)), url('../images/header-bg.svg') center/cover;
    padding: 120px 0 80px;
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); /* Add shadow for better visibility */
    color: #ffffff; /* Ensure text is white for contrast */
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 1.1rem;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 15px;
    font-weight: 700; /* Bolder for better visibility */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1); /* Add shadow for better visibility */
}

.section-title p {
    color: #1e293b; /* Much darker color for better visibility */
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    font-weight: 600; /* Bolder for better visibility */
    line-height: 1.6; /* Improved line height for readability */
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-bottom: 3px solid var(--primary);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    height: 150px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: white;
}

.service-content {
    padding: 30px;
}

.service-content p {
    color: #4b5563; /* Darker gray for better contrast */
    line-height: 1.7; /* Improved line height for readability */
    font-weight: 500; /* Slightly bolder for better visibility */
}

.service-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--secondary);
    font-weight: 700; /* Bolder for better visibility */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1); /* Add shadow for better visibility */
}

.service-content ul {
    padding-left: 20px;
    margin: 20px 0;
}

.service-content li {
    margin-bottom: 12px;
    font-size: 1.1rem;
    color: #1e293b; /* Darker color for better visibility */
    font-weight: 500; /* Slightly bolder for better visibility */
}

.tech-badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.15);
    color: #1e40af; /* Darker blue for better contrast */
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin: 5px 3px;
    border: 1px solid rgba(37, 99, 235, 0.3);
    font-weight: 600; /* Make text bolder for better visibility */
}

.service-feature {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    align-items: center;
}

.service-feature.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.feature-image:hover img {
    transform: scale(1.05);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    border-left: 3px solid var(--primary);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--secondary);
    font-weight: 700; /* Bolder for better visibility */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1); /* Add shadow for better visibility */
}

.benefit-card p {
    color: #1e293b; /* Darker color for better visibility */
    line-height: 1.7; /* Improved line height for readability */
    font-weight: 500; /* Slightly bolder for better visibility */
}

.btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--primary);
    margin: 10px 0;
    cursor: pointer;
}

.btn:hover {
    background: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: var(--primary);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    font-weight: 600; /* Ensure text is bold for better visibility */
}

.cta-section {
    background: linear-gradient(135deg, var(--secondary) 0%, #1e293b 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #ffffff; /* White text for better contrast */
    font-weight: 700; /* Bolder for better visibility */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3); /* Add shadow for better visibility */
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #e2e8f0; /* Lighter color for better visibility */
    font-weight: 500; /* Slightly bolder for better visibility */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); /* Subtle shadow for better readability */
}

/* Footer */
footer {
    background: #0f172a; /* Dark blue background */
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-logo span {
    color: var(--primary);
}

.footer-about p {
    margin-bottom: 20px;
    color: #e2e8f0; /* Lighter color for better visibility */
    font-weight: 500; /* Slightly bolder for better visibility */
    line-height: 1.7; /* Improved line height for readability */
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-heading {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #e2e8f0; /* Lighter color for better visibility on dark background */
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    font-weight: 500; /* Slightly bolder for better visibility */
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-links i {
    margin-right: 10px;
    color: var(--primary);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0; /* Lighter color for better visibility on dark background */
    font-weight: 500; /* Slightly bolder for better visibility */
}

/* Contact Form Styles */
.contact-info {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #1e293b; /* Darker color for better visibility */
    font-weight: 600; /* Bolder for better visibility */
}

.contact-item p {
    color: #475569; /* Darker color for better visibility */
    line-height: 1.6;
    font-weight: 500; /* Slightly bolder for better visibility */
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-right: 20px;
}

.contact-form {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    color: #1e293b; /* Darker text color for better visibility */
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600; /* Bolder for better visibility */
    color: #1e293b; /* Darker color for better visibility */
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.slide-up {
    animation: slideUp 0.8s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Responsive Design */
@media (max-width: 992px) {
    .service-feature {
        flex-direction: column;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        background: var(--secondary);
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 15px;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
}

/* Footer Text Fix */
body.dark-theme footer,
body.dark-theme footer p,
body.dark-theme footer a,
body.dark-theme logo p,
body.dark-theme footer h3 {
  color: #f0f0f0 !important;
}

/* Tech Badges Fix */
body.dark-theme .tech-badge {
  background-color: #333 !important;
  color: #f0f0f0 !important;
  border: 1px solid #555 !important;
}

/* Contact Page Headings Fix */
body.dark-theme .contact-info h2,
body.dark-theme .contact-info h3,
body.dark-theme .contact-info p,
body.dark-theme .contact-form h2 {
  color: #f0f0f0 !important;
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
}

.stat-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* .fa-project-diagram{
    width: 5rem;
    height: 5rem;
} */

/* for logo========> */

/* Default: show light logo, hide dark one */
.site-logo {
  width: 190px;
}

.size-adjust{
    width: 350px;
}

.site-logo.dark-logo {
  display: none;
}

/* In dark mode: show dark logo, hide light one */
 body.dark-theme .site-logo.light-logo {
  display: none;
} 

body.dark-theme .site-logo.dark-logo {
  display: inline;
} 

