/* ====================================================================== */
/* 0. Global Reset & Base Styles */
/* ====================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #ffffff;
    color: #333;
    overflow-x: hidden;
}

/* ====================================================================== */
/* 1. Navigation Bar Styling */
/* ====================================================================== */

/* A. Default Navbar State */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 80px;
    height: 80px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: white;
    border-bottom: 1px solid transparent;
    transition: background-color 0.4s ease, border-bottom 0.4s ease, box-shadow 0.4s ease;
}

/* B. Scrolled State */
.navbar.scrolled {
    background-color: white;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 100px;
    height: 70px;
    margin-right: 5px;
    border-radius: 50%;
}

.logo-text {
    font-size: 1.5em;
    font-weight: 700;
    color: #333;
    display: none;
}

/* Navigation Links */
.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    margin-left: 30px;
    font-size: 0.95em;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #007bff;
}

/* Search Box */
.search-box {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px 10px;
}

.search-box i {
    color: #555;
    margin-right: 10px;
}

.search-box input {
    border: none;
    outline: none;
    font-size: 0.9em;
    width: 120px;
}


/* ====================================================================== */
/* 2. Hero Section Styling */
/* ====================================================================== */
.hero-section {
    display: flex;
    padding: 50px 80px;
    padding-top: 130px;
    gap: 40px;
    align-items: center;
    min-height: calc(100vh - 80px);
}

.hero-content {
    flex: 1;
    max-width: 50%;
}

.main-heading-top {
    font-size: 2em;
    line-height: 1.2;
    font-weight: 800;
    color: #000;
    margin-bottom: 5px;
    position: relative;
    display: flex;
    align-items: center;
}

.heading-icon {
    position: absolute;
    top: -7px;
    left: 0;
    width: 30px;
    height: 20px;
    background: repeating-linear-gradient(45deg, #5C67FF, #5C67FF 2px, transparent 2px, transparent 4px);
    opacity: 0.9;
    transform: rotate(10deg);
}

.digital-bold {
    font-weight: 900;
}

.main-heading {
    font-size: 3.5em;
    line-height: 1.2;
    font-weight: 800;
    color: #000;
    margin-bottom: 20px;
}

.main-heading .smart,
.main-heading .talent {
    color: #5C67FF;
    font-weight: 700;
}

.main-heading .software {
    color: #000;
    font-weight: 800;
    font-size: 1.1em;
}

.description {
    font-size: 1em;
    color: #555;
    line-height: 1.6;
    max-width: 85%;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.explore-btn,
.learn-more-btn-v2 {
    background-color: #5C67FF;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: background-color 0.3s;
}

.explore-btn:hover,
.learn-more-btn-v2:hover {
    background-color: #4853e5;
}

.explore-btn:hover i,
.learn-more-btn-v2:hover i {
    transform: translateX(3px);
}

.consult-btn {
    background: none;
    color: #5C67FF;
    padding: 12px 0;
    border: none;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.3s;
}

.consult-btn i {
    margin-left: 8px;
    transition: transform 0.3s;
}

.consult-btn:hover {
    color: #4853e5;
}

.consult-btn:hover i {
    transform: translateX(3px);
}

.hero-image-container {
    flex: 1;
    max-width: 50%;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-image-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

/* ====================================================================== */
/* 3. About Section Styling */
/* ====================================================================== */
.about-section-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 80px 80px;
    gap: 40px;
    background-color: #ffffff;
}

.about-illustration-container {
    flex: 1;
    max-width: 50%;
}

.about-illustration-container img {
    width: 100%;
    height: auto;
}

.about-content {
    flex: 1;
    max-width: 50%;
    padding-left: 20px;
}

.about-us-tag-wrapper {
    margin-bottom: 20px;
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    background-color: rgba(92, 103, 255, 0.1);
}

.about-us-tag {
    color: #5C67FF;
    font-size: 0.9em;
    font-weight: 600;
}

.about-main-heading {
    font-size: 2.8em;
    line-height: 1.2;
    font-weight: 800;
    color: #000;
    margin-bottom: 25px;
}

.since-year {
    color: #5C67FF;
    font-weight: 900;
}

.about-description-text {
    font-size: 1em;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* ====================================================================== */
/* 4. Services Section Styling */
/* ====================================================================== */
.services-section-container {
    padding: 100px 80px;
    background-color: #f7f9fb;
    text-align: center;
}

.services-header {
    margin-bottom: 50px;
}

.section-heading-services {
    font-size: 2.5em;
    font-weight: 800;
    color: #000;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1em;
    color: #777;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 30px;
    margin-bottom: 40px;
    overflow: hidden;
    transition: transform 0.5s ease-in-out;
    width: calc((100% + 30px) * 2);
}

.service-card-item {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    text-align: left;
    transition: box-shadow 0.3s, transform 0.3s;
}

.service-card-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.card-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.2em;
    color: white;
}

.color-green { background-color: #4CAF50; }
.color-red { background-color: #F44336; }
.color-blue { background-color: #2196F3; }
.color-purple { background-color: #9C27B0; }
.color-yellow { background-color: #FFC107; }
.color-cyan { background-color: #00BCD4; }
.color-orange { background-color: #FF9800; }
.color-dark-blue { background-color: #3F51B5; }

.card-title {
    font-size: 1.25em;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.card-description {
    font-size: 0.95em;
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
    min-height: 60px;
}

.view-more-btn {
    color: #5C67FF;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9em;
    display: block;
    padding-top: 10px;
    transition: color 0.3s;
}

.view-more-btn:hover {
    color: #4853e5;
}

/* ====================================================================== */
/* 5. Slider Controls */
/* ====================================================================== */
.slider-container {
    display: flex;
    align-items: center;
    position: relative;
    max-width: 1300px;
    margin: 0 auto;
}

.slide-control-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    color: #5C67FF;
    border: 1px solid #5C67FF;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}

.slide-control-btn:hover {
    background-color: #5C67FF;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.slide-control-btn:disabled {
    background-color: transparent;
    border: 1px solid #ccc;
    color: #ccc;
    cursor: not-allowed;
    box-shadow: none;
}

.prev-btn { left: -20px; }
.next-btn { right: -20px; }

/* ====================================================================== */
/* 5. Projects Section */
/* ====================================================================== */
.projects-section {
    padding: 80px 20px;
    text-align: center;
    background-color: var(--text-dark); /* White background for projects gallery */
}

.projects-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Header and Subtitle --- */
.projects-header h2 {
    font-size: 2.5em;
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-weight: 800;
}

.projects-header p {
    color: #777;
    font-size: 1.1em;
    margin-bottom: 40px;
}

/* --- Category Filter Buttons --- */
.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-btn {
    background-color: var(--section-bg-light);
    color: var(--primary-blue);
    padding: 10px 20px;
    border: 2px solid var(--section-bg-light);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
    text-transform: capitalize;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.filter-btn:hover {
    background-color: var(--primary-blue);
    color: var(--accent-yellow);
    border-color: var(--primary-blue);
}

.filter-btn.active {
    background-color: var(--accent-yellow);
    color: var(--primary-blue);
    border-color: var(--accent-yellow);
}

/* --- Projects Grid --- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
    gap: 25px;
}

.project-card {
    background-color: var(--text-dark);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    cursor: pointer;
    transition: transform 0.3s;
    opacity: 1; /* Default opacity for visibility */
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.project-card.hidden {
    display: none; /* Used by JavaScript for filtering */
}

.project-card img {
    width: 100%;
    height: 250px; /* Fixed height for consistent look */
    object-fit: cover;
    transition: transform 0.5s;
}

.project-card:hover img {
    transform: scale(1.05);
}

/* --- Project Overlay Content --- */
.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(10, 25, 49, 0.85); /* Semi-transparent Dark Blue */
    color: var(--text-dark);
    padding: 15px;
    text-align: left;
    transform: translateY(100%);
    transition: transform 0.4s ease-out;
    border-top: 3px solid var(--accent-yellow);
}

.project-card:hover .project-info {
    transform: translateY(0);
}

.project-info h4 {
    margin: 0 0 5px 0;
    font-size: 1.1em;
    color: var(--accent-yellow);
}

.project-info p {
    margin: 0;
    font-size: 0.85em;
    opacity: 0.9;
}
:root {
    --primary-blue: #0A1931;    /* Dark Blue */
    --secondary-blue: #1C3358;  /* Slightly Lighter Blue */
    --accent-yellow: #FFC94A;   /* Yellow */
    --text-dark: #FFFFFF;
    --text-light: #333333;
    --section-bg-dark: var(--primary-blue);
    --section-bg-light: #F4F7F9;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--section-bg-light);
    line-height: 1.6;
}



/* ====================================================================== */
/* 6. Media Queries (Responsiveness) */
/* ====================================================================== */

/* Large Tablet / Small Desktop */
@media (max-width: 1200px) {
    .slider-container { max-width: 100%; }
    .slide-control-btn { display: none; }
    .services-grid { grid-template-columns: repeat(3, 1fr); overflow: visible; width: 100%; transform: translateX(0) !important; }
}

/* Tablet */
@media (max-width: 1024px) {
    .navbar { padding: 15px 40px; }
    .hero-section { padding: 40px 40px; gap: 30px; }
    .about-section-container { padding: 60px 40px; }
    .nav-links a { margin-left: 20px; }
    .main-heading-top, .main-heading { font-size: 2.5em; }
    .heading-icon { top: -5px; }
    .description { max-width: 100%; }
    .hero-image-container img[src*="placeholder"] { min-height: 350px; }
    .about-main-heading { font-size: 2.2em; }
}

/* Smaller Tablet */
@media (max-width: 992px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .services-section-container { padding: 80px 40px; }
}

/* Mobile */
@media (max-width: 768px) {
    .navbar { flex-direction: column; height: auto; padding: 15px 20px; }
    .services-section-container { padding: 40px 20px; }
    .hero-section, .about-section-container { flex-direction: column; padding: 30px 20px; min-height: auto; text-align: center; }
    .nav-links, .search-box { display: none; }
    .logo { margin-bottom: 10px; }
    .hero-content { max-width: 100%; order: 2; }
    .hero-image-container { max-width: 100%; order: 1; margin-bottom: 30px; }
    .hero-image-container img[src*="placeholder"] { min-height: 250px; }
    .main-heading-top, .main-heading, .about-main-heading, .section-heading-services { font-size: 2em; line-height: 1.3; }
    .heading-icon { display: none; }
    .hero-buttons { flex-direction: column; gap: 15px; align-items: stretch; }
    .explore-btn, .consult-btn, .learn-more-btn-v2 { width: 100%; text-align: center; justify-content: center; }
    .about-content { max-width: 100%; padding-left: 0; order: 2; }
    .about-illustration-container { max-width: 100%; order: 1; margin-bottom: 20px; }
    .about-us-tag-wrapper { margin: 0 auto 20px auto; }
    .services-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
    }
}

@media (max-width: 600px) {
    .projects-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }
    .filter-buttons {
        gap: 10px;
        padding: 0 10px;
    }
}
