/* =========================
   PART 1 — GLOBAL RESET & BASE
   ========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5 {
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Headings stay blue in both themes */
h2, h3, h4, h5 {
    color: #4169E1;
}

p {
    margin-bottom: 15px;
    font-size: 1em;
}

/* Links */
a {
    color: #4169E1;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #27408B;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: #4169E1;
    color: #FFFFFF;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background-color: #27408B;
    transform: translateY(-2px);
}

/* =========================
   HEADER & NAVIGATION
   ========================= */

header {
    background-color: #0A1F44;
    color: #FFFFFF;
    padding: 0 30px;
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

/* Desktop roll-in animation */
@keyframes rollInRight {
    0% { opacity: 0; transform: translateX(100px) rotate(360deg); }
    100% { opacity: 1; transform: translateX(0) rotate(0deg); }
}

@media (min-width: 769px) {
    .logo img {
        animation: rollInRight 1.2s ease-out forwards;
    }
}

/* Mobile fade-in animation */
@keyframes fadeInSmooth {
    0% { opacity: 0; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1); }
}

@media (max-width: 768px) {
    .logo img {
        animation: fadeInSmooth 1.5s ease-out forwards;
    }
}

nav {
    position: relative;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li {
    position: relative;
}

nav ul li a {
    color: #FFFFFF;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;              /* ✅ allow icon + text alignment */
    align-items: center;
    gap: 8px;                   /* ✅ spacing between icon and text */
}

/* Glow on hover */
nav ul li a:hover {
    color: #4169E1;
    text-shadow: 0 0 10px #4169E1,
                 0 0 20px #4169E1,
                 0 0 30px #27408B;
}

/* Dropdown */
nav ul li ul.dropdown {
    display: none;
    position: absolute;
    background-color: #0A1F44;
    padding: 10px;
    list-style: none;
    top: 100%;
    left: 0;
    min-width: 220px;           /* ✅ wider for icons + text */
    animation: fadeIn 0.3s ease forwards;
}

nav ul li:hover ul.dropdown {
    display: block;
}

nav ul li ul.dropdown li {
    margin: 5px 0;
}

nav ul li ul.dropdown li a {
    color: #FFFFFF;
    font-weight: 400;
    transition: color 0.3s ease;
}

nav ul li ul.dropdown li a .icon {
    font-size: 1.2em;
    color: #4169E1;
    transition: transform 0.3s ease, color 0.3s ease;
}

nav ul li ul.dropdown li a:hover .icon {
    transform: scale(1.2);
    color: #27408B;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    font-size: 2em;
    color: #FFFFFF;
    cursor: pointer;
}

/* Dropdown fade animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Navigation */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 10px;
        background-color: #0A1F44;
        position: absolute;
        top: 70px;
        right: 0;
        width: 220px;           /* ✅ match dropdown width */
        display: none;
        padding: 20px;
        z-index: 999;
    }

    nav ul.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    nav ul li {
        margin: 10px 0;
    }
}



/* =========================
   PART 2 — HERO SECTION
   ========================= */

.hero {
    position: relative;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

@media (max-width: 768px) {
    .hero-img {
        object-fit: contain;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.hero .btn {
    background-color: #4169E1;
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.hero .btn:hover {
    background-color: #27408B;
}

/* =========================
   HERO SLIDER
   ========================= */

.hero-slider {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: none;
}

.slide.active {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    text-align: center;
}

.slide::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.45);
}

.hero-slider .hero-content {
    position: relative;
    z-index: 1;
    animation: fadeIn 1s ease-in-out;
    max-width: 1000px;
    padding: 20px;
}

.hero-slider .hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 25px;
}

.hero-slider .hero-content p {
    font-size: 1.3em;
    margin-bottom: 35px;
}

.hero-slider .hero-content .btn {
    background-color: #4169E1;
    padding: 14px 30px;
    border-radius: 6px;
}

.hero-slider .hero-content .btn:hover {
    background-color: #27408B;
}

/* Slider Navigation */
.hero-slider .prev,
.hero-slider .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    padding: 12px 18px;
    cursor: pointer;
    font-size: 28px;
    border-radius: 4px;
    z-index: 2;
}

.hero-slider .prev { left: 25px; }
.hero-slider .next { right: 25px; }

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 2;
}

.slider-dots .dot {
    width: 14px;
    height: 14px;
    background-color: rgba(255,255,255,0.6);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.slider-dots .dot.active {
    background-color: #4169E1;
    transform: scale(1.3);
}

/* =========================
   HIGHLIGHTS SECTION
   ========================= */

.highlights {
    padding: 60px 30px;
    background-color: #f9f9f9;
    text-align: center;
}

.highlight-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.highlight-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    width: 300px;
    transition: transform 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-5px);
}

.highlight-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.highlight-card h3 {
    margin: 15px 0 10px;
    color: #4169E1;
}

.highlight-card p {
    padding: 0 15px 20px;
    font-size: 0.95em;
    color: #333;
    text-align: justify; /* justify the body text */
}

/* =========================
   SERVICES PAGE
   ========================= */

.services-page {
    padding: 60px 30px;
    background-color: #f5f7fa;
}

.services-page h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #4169E1;
    text-align: center;
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 700;
}

.services-intro {
    max-width: 900px;
    margin: 0 auto 40px auto;
    font-size: 1.1em;
    line-height: 1.8;
    color: #333;
    text-align: justify; /* ✅ body text justified */
}

.services {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.service-card {
    background: #FFFFFF;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    flex: 1 1 250px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card h3 {
    text-align: center;
    color: #4169E1;
    margin-bottom: 15px;
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 700;
}

.service-card p {
    text-align: justify; /* ✅ body text justified */
    line-height: 1.6;
    color: #333;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Dark Mode */
body.dark-mode .services-page {
    background-color: #001F3F;
}

body.dark-mode .services-intro {
    color: #f5f7fa;
}

body.dark-mode .service-card {
    background: #0A1F44;
    border: 1px solid #27408B;
    color: #f5f7fa;
}

body.dark-mode .service-card h3 {
    color: #4169E1;
}

body.dark-mode .service-card p {
    color: #f5f7fa;
}

/* Animations */
.service-card.fade-in,
.services-intro.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.service-card.fade-in:nth-child(1) { animation-delay: 0.2s; }
.service-card.fade-in:nth-child(2) { animation-delay: 0.4s; }
.service-card.fade-in:nth-child(3) { animation-delay: 0.6s; }
.service-card.fade-in:nth-child(4) { animation-delay: 0.8s; }
.service-card.fade-in:nth-child(5) { animation-delay: 1s; }
.service-card.fade-in:nth-child(6) { animation-delay: 1.2s; }
.service-card.fade-in:nth-child(7) { animation-delay: 1.4s; }

/* =========================
   CTA SECTION
   ========================= */

.cta {
    background-color: #4169E1;
    color: #fff;
    text-align: center;
    padding: 60px 30px;
}

.cta h2 {
    font-size: 2em;
    margin-bottom: 20px;
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 700;
}

.cta p {
    font-size: 1.1em;
    margin-bottom: 30px;
    line-height: 1.8;
    text-align: justify; /* ✅ justified body text */
}

.cta .btn {
    background-color: #fff;
    color: #4169E1;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease, color 0.3s ease;
}

.cta .btn:hover {
    background-color: #27408B;
    color: #fff;
}

/* Dark Mode */
body.dark-mode .cta {
    background: linear-gradient(135deg, #4169E1, #27408B);
    color: #fff;
}

body.dark-mode .cta .btn {
    background-color: #0A1F44;
    color: #fff;
}

body.dark-mode .cta .btn:hover {
    background-color: #fff;
    color: #4169E1;
}



/* =========================
   FORMS
   ========================= */

form {
    max-width: 600px;
    margin: 0 auto;
    background: #FFFFFF;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

form input,
form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form input:focus,
form textarea:focus {
    border: 1px solid #4169E1;
    outline: none;
}

form button {
    background-color: #0A1F44;
    color: #FFFFFF;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

form button:hover {
    background-color: #4169E1;
}

/* =========================
   FOOTER
   ========================= */

footer {
    background: linear-gradient(135deg, #001F3F, #0A1F44);
    color: #FFFFFF;
    padding: 40px 30px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-column h4 {
    margin-bottom: 15px;
    color: #4169E1;
    text-shadow: 0 0 8px rgba(65,105,225,0.6);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: #FFFFFF;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer-column ul li a:hover {
    color: #4169E1;
    text-shadow: 0 0 10px #4169E1, 0 0 20px #27408B;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    border-top: 1px solid #4169E1;
    padding-top: 15px;
    font-size: 0.9em;
    color: #ccc;
}


/* =========================
   PART 3 — PROJECTS SECTION
   ========================= */

.projects {
    padding: 60px 30px;
    background-color: #f5f7fa;
    text-align: center;
}

.projects h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #4169E1;
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 20px;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card h3 {
    font-size: 1.3em;
    color: #4169E1;
    margin-top: 15px;
}

.project-card p {
    font-size: 0.95em;
    color: #333;
    text-align: justify; /* justify the body text */
}

/* Rotating Image Carousel */
.image-carousel {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 6px;
}

.image-carousel img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.image-carousel img.active {
    opacity: 1;
}

/* =========================
   PROJECT HIGHLIGHTS SLIDER
   ========================= */

.highlight-card .image-slider {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.image-slider img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 180px;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.image-slider img.active {
    opacity: 1;
}

/* =========================
   CAREERS PAGE
   ========================= */

.careers {
    padding: 60px 30px;
    text-align: center;
}

.careers-content {
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-size: 1.1em;
    line-height: 1.8;
}

.job-openings {
    margin-top: 40px;
}

.job-card {
    background: #FFFFFF;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.job-card h4 {
    color: #4169E1;
    margin-bottom: 10px;
}

/* =========================
   BLOG PAGE
   ========================= */

.blog {
    padding: 60px 30px;
}

.blog-intro {
    max-width: 800px;
    margin: 0 auto 40px auto;
    text-align: center;
    font-size: 1.1em;
    line-height: 1.8;
}

.blog-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.blog-post {
    background: #FFFFFF;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    flex: 1 1 250px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.blog-post h3 {
    color: #4169E1;
    margin-bottom: 10px;
}

.blog-post .date {
    font-size: 0.9em;
    color: #777;
    margin-bottom: 10px;
}

.blog-post a {
    display: inline-block;
    margin-top: 10px;
    color: #0A1F44;
    font-weight: bold;
    transition: color 0.3s ease;
}

.blog-post a:hover {
    color: #4169E1;
}

/* =========================
   CONTACT PAGE
   ========================= */

.contact-page {
    padding: 60px 30px;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.contact-form,
.contact-info {
    flex: 1 1 45%;
}

.contact-info h3 {
    color: #4169E1;
    margin-bottom: 15px;
}

.contact-info p,
.contact-info a {
    font-size: 1.1em;
    color: #333;
}

.contact-info a:hover {
    color: #4169E1;
}

.map iframe {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* =========================
   CLIENT LOGO MARQUEE
   ========================= */

.client-logos {
    padding: 40px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.client-logos h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #4169E1;
}

.logo-marquee {
    overflow: hidden;
    width: 100%;
}

.logo-track {
    display: flex;
    width: max-content;
    animation: scrollLogos 30s linear infinite;
}

.logo-track img {
    height: 80px;
    margin: 0 30px;
    filter: drop-shadow(0 0 6px rgba(0,255,255,0.6));
    transition: transform 0.3s ease;
}

.logo-track img:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 12px rgba(0,255,255,0.9));
}

@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo-track img {
        height: 60px;
        margin: 0 20px;
    }
    .logo-track {
        animation: scrollLogos 40s linear infinite;
    }
}

@media (max-width: 480px) {
    .logo-track img {
        height: 50px;
        margin: 0 15px;
    }
    .logo-track {
        animation: scrollLogos 50s linear infinite;
    }
}


/* =========================
   PART 4 — GLOBAL SECTIONS
   ========================= */

section {
    padding: 60px 30px;
}

section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #4169E1;
}

/* About Page */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1em;
    line-height: 1.8;
}

/* Services Page */
.services-page .services {
    margin-top: 40px;
}

/* Service Detail Pages */
.service-detail {
    padding: 60px 30px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.service-detail .service-content p {
    margin-bottom: 20px;
    font-size: 1.1em;
    line-height: 1.8;
}

/* Web Hero Section (for service details like web dev) */
.web-hero {
    background: url('/assets/images/webdev-banner.jpg') no-repeat center center/cover;
    height: 60vh;
    position: relative;
    color: #fff;
    text-align: center;
}

.web-hero::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
}

.web-hero .hero-content {
    position: relative;
    z-index: 1;
    padding-top: 100px;
}

/* Overview Section */
.overview {
    padding: 60px 30px;
    text-align: center;
    background-color: #f9f9f9;
}

/* Features Section */
.features {
    padding: 60px 30px;
    text-align: center;
}

.feature-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 30px;
}

.feature-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 20px;
    width: 300px;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    color: #4169E1;
    margin-bottom: 10px;
}

/* CTA Section */
.cta {
    background-color: #4169E1;
    color: #fff;
    text-align: center;
    padding: 60px 30px;
}

.cta .btn {
    background-color: #fff;
    color: #4169E1;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.cta .btn:hover {
    background-color: #27408B;
    color: #fff;
}

/* =========================
   STICKY CONSULTATION BUTTON
   ========================= */

.sticky-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #4169E1;
    color: #FFFFFF;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    z-index: 9999;
}

.sticky-btn:hover {
    background-color: #27408B;
    transform: translateY(-2px);
}

/* Scroll to Top Button (if used) */
#scrollTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #4169E1;
    color: #fff;
    border: none;
    padding: 12px 16px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: background 0.3s ease;
    z-index: 9999;
}

#scrollTopBtn:hover {
    background: #27408B;
}

/* =========================
   ANIMATIONS & EFFECTS
   ========================= */

.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.slide-up {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.6s ease forwards;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* =========================
   DARK MODE (DEEP NAVY THEME)
   ========================= */

body.dark-mode {
    background-color: #0A1F44;
    color: #f5f7fa;
}

/* Header */
body.dark-mode header {
    background-color: #001F3F;
}

/* Nav Links */
body.dark-mode nav ul li a {
    color: #f5f7fa;
}

body.dark-mode nav ul li a:hover {
    color: #4169E1;
}

/* Sections */
body.dark-mode section {
    background-color: transparent;
}

body.dark-mode section h2 {
    background: linear-gradient(135deg, #4169E1, #27408B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Services */
body.dark-mode .service-card {
    background: #0A1F44;
    border: 1px solid #27408B;
    color: #f5f7fa;
}

body.dark-mode .service-card h3 {
    color: #4169E1;
}

/* Forms */
body.dark-mode form {
    background: #0A1F44;
    border: 1px solid #27408B;
    color: #f5f7fa;
}

body.dark-mode form input,
body.dark-mode form textarea {
    background: #001F3F;
    border: 1px solid #4169E1;
    color: #f5f7fa;
}

body.dark-mode form button {
    background: linear-gradient(135deg, #4169E1, #27408B);
    color: #FFFFFF;
}

/* Projects */
body.dark-mode .projects {
    background-color: #001F3F;
}

body.dark-mode .project-card {
    background-color: #0A1F44;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

body.dark-mode .project-card p {
    color: #f5f7fa;
}

/* Highlights / Feature cards / Blog / Jobs */
body.dark-mode .highlight-card,
body.dark-mode .feature-card,
body.dark-mode .blog-post,
body.dark-mode .job-card {
    background-color: #0A1F44;
    color: #f5f7fa;
    border-color: #27408B;
}

body.dark-mode .highlight-card p,
body.dark-mode .feature-card p,
body.dark-mode .blog-post p,
body.dark-mode .job-card p {
    color: #f5f7fa;
}

/* Careers */
body.dark-mode .careers {
    background-color: #001F3F;
}

/* Contact */
body.dark-mode .contact-page {
    background-color: #001F3F;
}

body.dark-mode .contact-info p,
body.dark-mode .contact-info a {
    color: #f5f7fa;
}

/* Client Logos */
body.dark-mode .client-logos {
    background-color: #001F3F;
}

/* Footer */
body.dark-mode footer {
    background-color: #000814;
    color: #f5f7fa;
}

body.dark-mode .footer-column h4 {
    color: #4169E1;
}

/* Sticky button */
body.dark-mode .sticky-btn {
    background: linear-gradient(135deg, #4169E1, #27408B);
    color: #FFFFFF;
}

/* Hero Slider in dark mode — keep contrast */
body.dark-mode .hero-slider .hero-content h1,
body.dark-mode .hero-slider .hero-content p {
    color: #f5f7fa;
}

/* =========================
   RESPONSIVE DESIGN TWEAKS
   ========================= */

@media (max-width: 768px) {
    .services {
        flex-direction: column;
        align-items: center;
    }

    .footer-container {
        flex-direction: column;
        text-align: left;
    }

    .sticky-btn {
        padding: 12px 20px;
        font-size: 0.9em;
    }

    .contact-container {
        flex-direction: column;
    }
}

/* Mobile footer alignment fix */
@media (max-width: 768px) {
    footer {
        text-align: left !important;
    }

    .footer-container {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .footer-column {
        margin-bottom: 20px;
        width: 100%;
        text-align: left;
    }

    .footer-bottom {
        text-align: left !important;
    }
}

/* FINAL OVERRIDE — Project Cards in Dark Mode */
body.dark-mode .project-card {
    background-color: #0A1F44 !important;
    border-color: #27408B;
    color: #f5f7fa;
}

/* =========================
   ABOUT US PAGE (REINVENTED)
   ========================= */

.about {
    padding: 60px 30px;
    background-color: #f5f7fa; /* light mode background */
}

.about h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #4169E1; /* consistent heading color */
    text-align: center;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1em;
    line-height: 1.8;
    color: #333;
}

.about-content h3 {
    font-size: 1.4em;
    color: #4169E1;
    margin-top: 25px;
    margin-bottom: 10px;
    text-align: left; /* keep headers aligned left */
}

.about-content p {
    margin-bottom: 20px;
    text-align: justify; /* justify body text */
}

.about-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
    list-style-type: disc;
    text-align: justify;
}

.about-content ul li {
    margin-bottom: 10px;
    color: #333;
    line-height: 1.6;
}

/* Dark Mode Consistency */
body.dark-mode .about {
    background-color: #001F3F; /* deep navy background */
}

body.dark-mode .about-content {
    color: #f5f7fa;
}

body.dark-mode .about-content h3 {
    color: #4169E1; /* keep headings blue in dark mode */
}

body.dark-mode .about-content ul li {
    color: #f5f7fa;
}

.services.modern {
  background: #fff;
  padding: 4rem 2rem;
  text-align: center;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #002244;
  margin-bottom: 0.5rem;
}

.section-intro {
  font-size: 1rem;
  color: #555;
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.service-card {
  background: #f9f9f9;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.service-card .icon {
  font-size: 2.5rem;
  color: #0055aa;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: #003366;
}

.service-card p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.learn-more {
  font-weight: 600;
  color: #0055aa;
  text-decoration: none;
  transition: color 0.3s ease;
}

.learn-more:hover {
  color: #003366;
}

.testimonials {
  padding: 4rem 2rem;
  background: var(--card-bg);
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--secondary-color);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-color);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  font-style: italic;
}

.testimonial-card span {
  display: block;
  margin-top: 1rem;
  font-weight: 600;
  color: var(--primary-color);
}

.twitter-container {
  max-width: 600px;   /* keeps it neat on large screens */
  margin: 0 auto;     /* centers the feed */
  padding: 10px;
}

@media (max-width: 768px) {
  .twitter-container {
    max-width: 100%;   /* full width on tablets/phones */
    padding: 5px;
  }
  .twitter-container .twitter-timeline {
    data-height: 400;  /* shorter height for smaller screens */
  }
}

@media (max-width: 480px) {
  .twitter-container {
    padding: 0;
  }
  .twitter-container .twitter-timeline {
    data-height: 300;  /* even shorter on mobile */
  }
}

.social-links li {
  list-style: none;
  margin: 8px 0;
}

.social-links li a {
  text-decoration: none;
  color: #333;              /* default text color */
  font-size: 16px;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

.social-links li a i {
  font-size: 20px;          /* icon size */
  margin-right: 8px;        /* spacing between icon and text */
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Hover Effects */
.social-links li a:hover {
  color: #1DA1F2;           /* Twitter blue as default hover text */
}

.social-links li a:hover i {
  transform: scale(1.2);    /* icon grows slightly */
}

/* Platform-specific colors */
.social-links li a:hover .fa-whatsapp { color: #25D366; }   /* WhatsApp green */
.social-links li a:hover .fa-facebook { color: #1877F2; }   /* Facebook blue */
.social-links li a:hover .fa-linkedin { color: #0077B5; }   /* LinkedIn blue */
.social-links li a:hover .fa-twitter { color: #1DA1F2; }    /* Twitter blue */
.social-links li a:hover .fa-instagram { color: #E1306C; }  /* Instagram pink */


