/* Reset and Base Styles */
html {
  scroll-behavior: smooth;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

:root {
    --primary-blue: #0056b3;
    --dark-bg: #000b1a;
    --light-text: #f4f4f4;
}

body {
    background-color: #fff;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    /* Use the dark background image from your screenshot */
    /* background: linear-gradient(rgba(0, 11, 26, 0.8), rgba(0, 11, 26, 0.8)), ; */
                /* url('images/bg.jpg');  */
                background-color: #002f69;
    background-size: cover;
    background-position: center;
    min-height: 100vh; /* This ensures the hero covers the whole screen */
    display: flex;
    flex-direction: column;
    padding-bottom: 80px; /* Space at the bottom so boxes don't touch the edge */
}

.hero-content {
    text-align: center;
    color: white;
    padding-top: 100px;
    margin-bottom: 40px;
}
/* nav bar section  */

/* Container for Icon + Text */
.logo-container {
    display: flex;
    align-items: center; /* Vertically centers the icon with the text */
    text-decoration: none; /* Removes underline from the link */
    gap: 12px; /* Space between the icon and the name */
}

/* The Blue Chat Icon */
.nav-icon {
    width: 90px; /* Adjust size to match your image */
    height: auto;
    filter: brightness(1.2); /* Optional: makes the blue pop more */
}

/* The Brand Name Text */
.brand-name {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.5px;
    font-family: 'Inter', sans-serif; /* Clean font like your image */
}

/* Ensure navbar doesn't squeeze the logo */
.navbar {
    display: flex;
    justify-content: space-between;
    padding: 20px 5%;
    background: #000b1a; /* Your dark theme color */
}



.navbar {
    position: fixed; /* Keep it stuck at the top */
    top: 0;
    left: 0;
    width: 100%;
    height: 80px; /* Set a specific height */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8%;
    
    /* Premium Glass Effect for the Nav */
    background: rgb(0 11 26 / 84%);; 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000; /* Stays on top of everything */
}
/* ===== PREMIUM POP HOVER EFFECT ===== */
.service-card,
.about-card,
.overlay-btn {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Card hover */
.service-card:hover,
.about-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

/* Button hover (image overlay buttons) */
.overlay-btn:hover {
  transform: translateY(-6px) scale(1.08);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    margin-right: 20px;
    font-size: 0.9rem;
}
.nav-links li a:hover {
    color: #38bdf8; /* That neon blue from earlier */
    border-bottom: 2px solid #38bdf8;
}

/* Styling for the active link */
.nav-links a.active {
    color: #3182ce !important; /* Premium Blue */
    font-weight: bold;
    border-bottom: 2px solid #3182ce;
    padding-bottom: 5px;
}

/* --- LinkedIn Branding --- */
.social-links img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1); /* Makes the logo white */
    transition: 0.3s;
}

.social-links a:hover img {
    filter: none; /* Shows original LinkedIn blue on hover */
}

/* --- Mobile Fix for LinkedIn --- */
@media (max-width: 768px) {
    /* Keeps the logo visible next to the hamburger menu on mobile */
    .social-links {
        margin-right: 30px;
        margin-top: 11px; /* Moves it away from the hamburger lines */
    }
    
    .social-links span {
        display: none; /* Optional: Hide the word "Linkedin" on very small phones to save space */
    }
}

/* --- Desktop Styles (already in your file, but ensure these match) --- */
.menu-toggle {
    display: none; /* Hide the checkbox */
}

/* --- Mobile Styles (Add this at the bottom of your CSS) --- */
@media (max-width: 768px) {
    .hamburger {
        display: block;
        cursor: pointer;
        z-index: 1001;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background: white;
        margin: 5px 0;
        transition: 0.3s;
    }

    .nav-links {
        position: fixed;
        right: -100%; /* Hidden off-screen to the right */
        top: 0;
        width: 70%;
        height: 100vh;
        background: #000b1a; /* Match your dark theme */
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.5s;
        box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    }

    .nav-links li {
        margin: 20px 0;
    }

    /* The "Magic" - When checkbox is checked, move menu into view */
    .menu-toggle:checked ~ .nav-links {
        right: 0;
    }

    /* Optional: Turn hamburger into an 'X' when open */
    .menu-toggle:checked ~ .hamburger span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .menu-toggle:checked ~ .hamburger span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle:checked ~ .hamburger span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}


.linkedin-top {
    color: #0077b5;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Layout Grids */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.align-center { align-items: center; }

/* boxes in hero section  */

/* Container for the boxes */
.intro-grid {
    margin-top: 50px;
    padding-bottom: 50px;
}

/* =========================================
   FORCE PREMIUM HOVER EFFECT (OVERRIDE ALL)
   ========================================= */

.image-button-wrapper .overlay-btn {
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    will-change: transform;
}

.image-button-wrapper .overlay-btn:hover {
    transform: translateY(-8px) scale(1.12) !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.45) !important;
    z-index: 10;
}

/* About cards pop */
.about-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.about-card:hover {
    transform: translateY(-10px) scale(1.03) !important;
    box-shadow: 0 20px 45px rgba(0,0,0,0.35) !important;
}


/* The "Glass" Box Effect */
.glass-box {
    background: rgb(0 47 105 / 51%); /* Semi-transparent white */
    backdrop-filter: blur(10px); /* Blurs the background image */
    -webkit-backdrop-filter: blur(10px); /* Safari support */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle border */
    border-radius: 15px; /* Rounded corners */
    padding: 30px;
    color: white;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37); /* Depth shadow */
}

.glass-box h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.glass-box p, .glass-box li {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.glass-box ul {
    list-style-type: disc;
    padding-left: 20px;
}

/* Ensure the grid gap is wide enough */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
}
/* Adaptability Section */
.adaptability {
    text-align: center;
    background-color: white;
    margin-top: 40px;
    border-top: 3px solid #078afe;
    border-bottom: 3px solid #078afe;
    padding-top: 40px;
    padding-bottom: 79px;
}

.adaptability h2 {
    color:black;
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.adaptability p {
        color:black;
    font-size: 1.4rem;
    font-weight: bold;
}

/* Services Section */

.services-section {
    width: 100%;
    padding: 0px 0;
    background-color:#002f69;
} /* Uniform background as requested */


/* Align heading to the right */
.section-title-right {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 40px;
    padding-right: 10px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.service-card {
    border-top: 3px solid var(--primary-blue); /* Uniform theme accent */
    padding: 30px 20px;
    background: #f9f9f9;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px); /* Professional subtle lift */
}

.service-card h5 {
    color: #333;
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-card a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: bold;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .section-title-right {
        text-align: center; /* Center on mobile for better visibility */
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}




/* Button Styling */
.learn-more-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 25px;
background-color: #3182ce;
    color: #3182ce; /* Corporate Blue */
    border: 2px solid #3182ce;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    color: white;
    margin-left: 63px;
    margin-bottom: 20px;
}

.learn-more-btn:hover {
    background-color: #3182ce;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(49, 130, 206, 0.3);
}

/* Ensure cards are flex containers so buttons align at the bottom */
/* .service-card, .about-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pushes button to bottom if text lengths vary */
    /* align-items: center; */
    /* text-align: center; */
    /* height: 100%; */

.erp{
    width: 75%;
    height: auto;
}
.strategic{
     width: 75%;
    height: auto;
   
}
.ai{
     width: 75%;
    height: auto;
  
}
.s-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.card{
    margin: 0px;
    padding: 0px;
    margin-right: -35px;
}





.about-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.about-grid1 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px; /* Room for the thumbnails */
}

/* The Wrapper for the image (The Circle) */
.thumbnail-wrapper {
    width: 80px;
    height: 80px;
    background-color: #7fb5da; /* Light blue accent from client docs */
    border-radius: 50%;
    margin: -75px auto 20px; /* Pulls it up over the top border */
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.thumbnail-wrapper img {
    width: 45px; /* Size of the thumbnail image */
    height: auto;
}

/* The Card Style */
.about-card {
    background: #f9f9f9;
    border-top: 4px solid #3182ce; /* Uniform Blue Line */
    padding: 40px 25px 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
}

.about-card h5 {
    color: #2d3748;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.about-card p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* The Learn More Button */
.learn-more-btn1 {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
}

.learn-more-btn:hover {
    text-decoration: underline;
}




















/* serviice image  */

.image-button-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.full-services-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Base style for the buttons */
.overlay-btn {
    position: absolute;
    bottom: 10%; /* Adjust based on where "Learn More" is in your image */
    padding: 10px 20px;
    background-color: #3182ce; /* Match client blue theme */
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: transform 0.3s ease, background 0.3s opacity;
}

.overlay-btn:hover {
    background-color: #2c5282;
    transform: scale(1.05);
}

/* Individual placements (Horizontal positioning) */
.erp-link {
    left: 12%; /* Positions over the first column */
}

.strategic-link {
    left: 44%;
}

.ai-link {
    right: 11%; /* Positions over the third column */
}

/* Mobile: Since images shrink, it's often better to hide these or stack them */
@media (max-width: 768px) {
    .overlay-btn {
        position: relative;
        display: block;
        margin: 10px auto;
        width: fit-content;
        left: unset;
        right: unset;
        transform: none;
    }
}

/* About Section */

/* --- SECTION HEADINGS --- */
.erp-about {
    left: 12%; /* Positions over the first column */
}

.strategic-about {
    left: 46%;
}

.ai-about {
    right: 11%; /* Positions over the third column */
}
.full-about-img{
    width: 100%;
    margin-bottom: 39px;
    height: auto;
    display: block;
}
.about-section{
    background-color: #eeeef0;
}
.section-title-dark {
    font-size: 2.5rem;
    color: #078afe;
    text-align: center;
    margin-bottom: 0px;
    font-weight: 700;
}

/* Specific request: Heading on the right side */
.section-title-right {
    text-align: center;
    font-size: 2.5rem;
    color: #078afe;
    margin-bottom: 40px;
    font-weight: 700;
    padding-right: 39px; /* Slight offset from edge */
}

/* --- THE UNIFORM CARD GRID --- */
.about-grid, .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

/* --- THE UNIFORM CARD STYLE --- */
.about-card, .service-card {
    background: #ffffff;
    padding: 35px 25px;
    border-top: 4px solid #078afe; /* The uniform blue accent line */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.about-card:hover, .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Card Typography */
.about-card h5, .service-card h5 {
    font-size: 1.3rem;
    color: #078afe;
    margin-bottom: 15px;
    font-weight: 600;
}

.about-card p, .service-card p {
    color: #4a5568;
    line-height: 1.7;
    font-size: 1rem;
    flex-grow: 1; /* Ensures buttons align even if text length differs */
}

/* Learn More Links */
.about-card a, .service-card a {
    color: #3182ce;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    display: inline-block;
}

.about-card a:hover, .service-card a:hover {
    text-decoration: underline;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
    .section-title-right {
        text-align: center; /* Better visibility on mobile */
        padding-right: 0;
    }
    
    .about-grid, .services-grid {
        grid-template-columns: 1fr;
    }
}

/* 1. Hide the checkbox so it doesn't show up on the page */
.menu-toggle {
    display: none;
}

/* 2. Media Query: Everything inside these brackets only happens on screens smaller than 768px */
@media (max-width: 768px) {
    
    /* Show the hamburger lines */
    .hamburger {
        display: block;
        position: relative;
        z-index: 1002; 
        cursor: pointer;
    }

    .hamburger span {
        display: block;
        width: 30px;
        height: 4px;
        background-color: white;
        margin: 6px 0;
        border-radius: 2px;
    }

    /* Hide the normal links and move them off-screen to the right */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; 
        width: 80%; /* Takes up 80% of the screen width */
        height: 100vh;
        background-color: #000b1a; 
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.4s ease-in-out;
        z-index: 1001;
    }

    .nav-links li {
        margin: 20px 0;
    }

    .nav-links li a {
        font-size: 1.5rem;
    }

    /* THE MAGIC: When the box is checked, move the menu into view */
    #menu-toggle:checked ~ .nav-links {
        right: 0;
    }
}

/* --- FOOTER SECTION --- */
.main-footer {
    background-color: #002f69;; /* navy background */
    color: #ffffff;
    padding: 60px 0;
    font-family: 'Inter', sans-serif;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr; /* Adjusted for image layout */
    gap: 40px;
}

/* Brand Column */
.footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.copyright {
    color: white;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.social-icon-circle {
    width: 45px;
    height: 44px;
    background-color: #002f69;
    border-radius: 50%;
    display: flex;
    align-items: center;            
    justify-content: center;
    transition: 0.3s;
}

.social-icon-circle img {
    width: 25px;
    filter: brightness(0) invert(1); /* Makes icon white */
}

.social-icon-circle:hover {
    background-color: #0077b5; /* LinkedIn Blue on hover */
}

/* Contact & Legal Headers */
.main-footer h3 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: #ffffff;
    position: relative;
}

/* Contact Column */
.contact-item {
    display: flex;
    gap: 15px;
    color: white;
    line-height: 1.6;
}

.contact-item .icon {
    color: #4299e1; /* Light blue for the pin icon */
}

/* Legal Links */
.footer-legal ul {
    list-style: none;
    padding: 0;
}

.footer-legal ul li {
    margin-bottom: 12px;
}

.footer-legal ul li a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.footer-legal ul li a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* --- RESPONSIVE FOOTER --- */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr; /* Stacks columns on mobile */
        text-align: center;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .social-icon-circle {
        margin: 0 auto;
    }
}
/* Container for the small thumbnail image */
.thumbnail{
    margin-left: -8%;
    width: 116%;
    height: auto;

}

.service-card, .about-card {
    margin-top: -11px; /* Adds space for the floating thumbnail */
    text-align: center; /* Ensures the thumbnail and text align vertically */
    padding: 40px 20px 20px;
}





/* ======================================
   NEW CLEAN HOVER SYSTEM (NO CONFLICT)
   ====================================== */

/* Buttons on service image */
.pop-hover {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pop-hover:hover {
    transform: translateY(-10px) scale(1.12);
    box-shadow: 0 18px 40px rgba(0,0,0,0.45);
    z-index: 10;
}

/* Cards in About section */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-12px) scale(1.04);
    box-shadow: 0 22px 50px rgba(0,0,0,0.35);
}
