/* =========================================
   1. GLOBAL RESET & BASE STYLES
   ========================================= */
   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #f8fafc; /* Light Slate Background */
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* =========================================
   2. NAVIGATION BAR
   ========================================= */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: #fff;
    border-bottom: 1px solid #f1f5f9;
}

/* --- LOGO IMAGE STYLES --- */

/* Ensure the container aligns the logo correctly */
.logo-container {
    display: flex;
    align-items: center;
}

/* Removes the default underline from the logo link */
.logo-container a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* Controls the logo size */
.site-logo {
    height: 50px; /* Adjust this number to make the logo bigger or smaller */
    width: auto;  /* Keeps the logo from stretching */
    object-fit: contain;
}

/* Optional: Mobile adjustment if the logo looks too big on phones */
@media (max-width: 768px) {
    .site-logo {
        height: 40px;
    }
}

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

nav a {
    text-decoration: none;
    color: #4a4a4a;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
}

nav a:hover, nav a.active {
    color: #2b7bc5;
}

/* =========================================
   3. HERO SECTION (Home Page)
   ========================================= */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 5% 80px 5%;
    max-width: 1400px;
    margin: 0 auto;
    gap: 40px;
    background: linear-gradient(135deg, #ffffff 0%, #f3f6ff 100%);
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    color: #111;
    margin-bottom: 20px;
}

.highlight-blue {
    color: #4354ff;
    display: block;
}

p.subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 40px;
    max-width: 90%;
}

.btn-container {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 15px 32px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(90deg, #4361ee 0%, #3a0ca3 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(67, 97, 238, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #4361ee;
    border: 2px solid #4361ee;
}

.btn-secondary:hover {
    background: #eef2ff;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.image-wrapper {
    width: 100%;
    max-width: 600px;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================================
   4. GENERAL SECTIONS & GRIDS
         (About Us Section)
   ========================================= */
.about-section {
    max-width: 1200px;
    margin: 60px auto 80px auto;
    padding: 0 5%;
    }

    .about-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    }

    .about-subtitle {
    text-align: center;
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 40px;
    }

    .about-content {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.5fr);
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
    }

    .about-image-wrapper {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
    padding: 12px;
    }

    .about-image-wrapper img {
    width: 100%;
    border-radius: 12px;
    display: block;
    }

    .about-text h2 {
    font-size: 24px;
    margin-bottom: 16px;
    }

    .about-text p {
    font-size: 14px;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 14px;
    }

    /* Feature cards */
    .about-features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    }

    .feature-card {
    background: #f3f6ff;
    border-radius: 16px;
    padding: 20px 18px;
    text-align: left;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
    }

    .feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e0e7ff;
    color: #4338ca;
    font-size: 18px;
    margin-bottom: 12px;
    }

    .feature-card h3 {
    font-size: 16px;
    margin-bottom: 6px;
    }

    .feature-card p {
    font-size: 13px;
    color: #4b5563;
    }

/* =========================================
   5. GENERAL SECTIONS & GRIDS
   (Technology, Software, Services)
   ========================================= */
.tech-section {
    padding: 80px 5%;
    background-color: #f8fafc;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-content {
    min-height: 60vh;
    padding-top: 60px;
}

.tech-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
}

.tech-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 15px;
}

.tech-header p {
    font-size: 18px;
    color: #64748b;
}

/* Grid Layouts */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Default 3 Columns */
    gap: 30px;
    width: 100%;
    max-width: 1400px;
}

.software-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 Columns for Software/Services */
}

/* Card Styles */
.tech-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #f1f5f9;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

/* Standard Icon Box */
.icon-box {
    width: 50px;
    height: 50px;
    background-color: #2563eb;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
}

.icon-box svg {
    width: 28px;
    height: 28px;
    stroke-width: 2;
    fill: none;
    stroke: currentColor;
}

.tech-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
}

.tech-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #475569;
}

/* Bullet Point Lists (Software & Services) */
.card-list {
    list-style: none;
    margin-top: 20px;
    padding: 0;
}

.card-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: #475569;
    font-size: 15px;
    font-weight: 500;
}

.card-list li::before {
    content: "•";
    color: #2563eb;
    font-weight: bold;
    position: absolute;
    left: 4px;
    top: -2px;
    font-size: 20px;
}

 /* Logo Ticker Container */
 .logo-ticker-container {
    width: 100%;
    overflow: hidden; /* Hides the scrollbar */
    background-color: white;
    position: relative;
    padding: 20px 0;
}

/* The moving track */
.logo-ticker-track {
    display: flex;
    width: calc(250px * 20); /* 250px per logo * 20 total logos (10 original + 10 duplicate) */
    animation: scroll 40s linear infinite;
}

/* Individual Logo Item */
.logo-container {
    width: 250px; /* Fixed width for smooth math */
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px; /* Space between logos */
}

/* Standardizes image size */
.logo-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: none; /* Optional: makes logos grey */
    opacity: 0.7;
    transition: all 0.3s ease;
}

/* Optional: Color on hover */
.logo-container img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* The Animation Definition */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 10)); /* Move left by the width of the original 10 items */
    }
}

/* =========================================
   6. CONTACT US PAGE SPECIFIC STYLES
   ========================================= */
.contact-split-container {
    display: flex;
    gap: 60px;
    width: 100%;
    max-width: 1200px;
    margin-top: 20px;
}

/* Left Info Column */
.contact-info-col {
    flex: 1;
}

.contact-col-title {
    font-size: 24px;
    font-weight: 700;
    color: #111;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

/* Square Icon (Contact Page Style) */
.icon-square {
    width: 48px;
    height: 48px;
    background-color: #2563eb;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
}

.icon-square svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.contact-text h4 {
    font-size: 16px;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
}

.contact-text p {
    font-size: 15px;
    color: #555;
    line-height: 1.5;
}

.contact-text a {
    color: #555;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-text a:hover {
    color: #2563eb;
}

.text-sm {
    font-size: 13px;
    color: #888;
}

.status-closed {
    color: #e11d48; /* Red */
    font-weight: 600;
    margin-bottom: 5px;
}

.hours-detail {
    margin-bottom: 2px !important;
}

/* Right Form Column */
.contact-form-col {
    flex: 1.2;
}

.clean-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #111;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 15px;
    color: #333;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-submit-btn {
    width: 100%;
    justify-content: center;
    font-weight: 600;
    padding: 16px;
    margin-top: 10px;
}

/* =========================================
   7. FOOTER STYLES
   ========================================= */
/* --- Footer --- */
.footer {
    background-color: #050816;
    color: #e5e7eb;
    /* REMOVE horizontal padding from here. Keep only vertical. */
    padding: 60px 0 20px 0; 
    margin-top: auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr 1.4fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 30px auto;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #ffffff;
}

.footer-column p,
.footer-column li,
.footer-column a {
    font-size: 14px;
    color: #9ca3af;
}

.footer-column ul {
    list-style: none;
}

.footer-column li + li {
    margin-top: 8px;
}

.footer-brand-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffffff;
}

.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.footer-socials a {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background-color: #111827;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 14px;
    text-decoration: none;
}

.footer-socials a:hover {
    background-color: #1f2933;
    color: #ffffff;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    
    /* ALIGNMENT FIX: Match the Hero Section's logic */
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5% 40px 5%; /* Horizontal padding moves here */
    
    border-bottom: 1px solid #1f2937;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    /* ALIGNMENT FIX: Match the Hero Section's logic */
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 5% 0 5%; /* Horizontal padding moves here */
    
    font-size: 13px;
    flex-wrap: wrap; 
    gap: 20px; 
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    text-decoration: none;
    color: #9ca3af;
    font-size: 12px;
}

.footer-links a:hover {
    color: #ffffff;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 36px;
    height: 36px;
    background-color: #1e293b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s;
}

.social-icon:hover {
    background-color: #6366f1;
}

.social-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: #9ca3af;
    text-decoration: none;
}

/* =========================================
   8. MOBILE RESPONSIVENESS
   ========================================= */
@media (max-width: 992px) {
    /* Hero */
    h1 { font-size: 42px; }
    nav { display: none; } /* Hide Nav for simplicity */
    .hero { flex-direction: column; text-align: center; padding-top: 20px; }
    .hero-content { max-width: 100%; }
    .btn-container { justify-content: center; }
    .image-wrapper { height: 400px; }
    
    /* Grids */
    .tech-grid, .software-grid { grid-template-columns: 1fr; }
    
    /* Contact Page */
    .contact-split-container { flex-direction: column; gap: 40px; }
    .contact-col-title { text-align: center; margin-bottom: 30px; }
    
    /* Footer */
    .footer-content { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
}

/* Fix for Main Header Logo Hover */
header .logo-container img.site-logo {
    opacity: 1 !important;       /* Forces full visibility */
    filter: none !important;     /* Removes any grayscale/color effects */
    transition: none !important; /* Removes the hover animation */
}

header .logo-container img.site-logo:hover {
    opacity: 1 !important;
    filter: none !important;
}