/* ==========================================
   ICONA FOR COMPUTER SERVICES - DESIGN SYSTEM & STYLES
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* Brand Colors - Icona Navy & Orange */
    --primary: #0b2a5c;
    --primary-dark: #071b3d;
    --primary-deep: #050f24;
    --primary-light: #e8eef8;
    --accent-teal: #ee7628;
    --accent-cyan: #f7941e;
    --accent-emerald: #ee7628;
    --accent-blue: #0059a8;
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #071b3d 0%, #0b2a5c 50%, #0059a8 100%);
    --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    --gradient-dark: linear-gradient(135deg, #050f24 0%, #0b2a5c 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    --gradient-accent: linear-gradient(135deg, #ee7628 0%, #f7941e 100%);

    /* Backgrounds & Text */
    --bg-main: #f8fafc;
    --bg-surface: #ffffff;
    --bg-alt: #f1f5f9;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --border-color: #e2e8f0;

    /* Shadows & Elevation */
    --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 6px 20px -4px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 40px -10px rgba(11, 42, 92, 0.15);
    --shadow-glow: 0 0 25px rgba(238, 118, 40, 0.35);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
    --backdrop-blur: blur(12px);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Base Reset & Fonts */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.25;
}

/* Page Preloader */
#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    width: 90px;
    animation: pulse 1.8s infinite ease-in-out;
}

.loader-spinner {
    width: 45px;
    height: 45px;
    border: 4px solid var(--primary-light);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 15px auto 0;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.08); opacity: 0.85; }
}

/* Header & Navbar */
.navbar-glass {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.navbar-brand img {
    height: 48px;
    transition: var(--transition-normal);
}

.navbar-brand:hover img {
    transform: scale(1.03);
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-main) !important;
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary) !important;
    background-color: var(--primary-light);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 1rem;
    right: 1rem;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

/* Custom Nav Caret Dropdown */
.dropdown-menu {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    background: #ffffff;
    padding: 0.5rem;
    animation: fadeInDown 0.25s ease;
}

.dropdown-item {
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--text-main);
    transition: var(--transition-fast);
}

.dropdown-item:hover {
    background-color: var(--primary-light);
    color: var(--primary);
    transform: translateX(4px);
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero Slider Section */
.hero-slider {
    position: relative;
    overflow: hidden;
    background: var(--text-main);
}

.hero-slider .carousel-item {
    height: 580px;
    min-height: 420px;
    background-color: #0f172a;
}

.hero-slider .carousel-item img {
    height: 100%;
    object-fit: cover;
    opacity: 0.65;
    filter: brightness(0.9);
}

.carousel-caption-glass {
    position: absolute;
    bottom: 15%;
    left: 8%;
    right: 8%;
    max-width: 750px;
    text-align: left;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 0.8s ease;
}

.carousel-caption-glass .hero-tag {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: var(--gradient-accent);
    color: white;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.carousel-caption-glass h1 {
    color: #ffffff;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
}

.carousel-caption-glass p {
    color: #e2e8f0;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Custom Buttons */
.btn-icona-primary {
    background: var(--gradient-accent);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.75rem 1.8rem;
    border-radius: var(--radius-full);
    border: none;
    box-shadow: 0 4px 14px rgba(6, 182, 212, 0.35);
    transition: var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-icona-primary:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.5);
}

.btn-icona-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.7rem 1.6rem;
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-icona-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Feature Cards & Mission/Vision Section */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

.section-header .sub-badge {
    color: var(--primary);
    background: var(--primary-light);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    display: inline-block;
    margin-bottom: 0.75rem;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.info-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
    opacity: 0;
    transition: var(--transition-fast);
}

.info-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.info-card:hover::before {
    opacity: 1;
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    transition: var(--transition-normal);
}

.info-card:hover .icon-box {
    background: var(--gradient-accent);
    color: #ffffff;
    transform: rotate(5deg) scale(1.05);
}

/* Balanced Scorecard Section */
.scorecard-section {
    background: var(--gradient-dark);
    color: #ffffff;
    padding: 5rem 0;
    position: relative;
}

.scorecard-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition-normal);
}

.scorecard-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.scorecard-icon {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(238, 118, 40, 0.2) 0%, rgba(0, 89, 168, 0.2) 100%);
    border: 2px solid rgba(238, 118, 40, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: #f7941e;
    margin: 0 auto 1.2rem auto;
    transition: var(--transition-bounce);
}

.scorecard-card:hover .scorecard-icon {
    transform: scale(1.15);
    color: #ffffff;
    background: var(--gradient-accent);
}

/* Fun Facts Section */
.fun-facts-banner {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 3.5rem 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.fact-item {
    text-align: center;
    padding: 1.5rem 1rem;
}

.fun-fact-number {
    font-size: 3.2rem;
    font-weight: 800;
    font-family: var(--font-heading);
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.fun-fact-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Styled Lists for Business Scope */
.styled-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.styled-check-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.9rem;
    font-size: 1rem;
    color: var(--text-main);
}

.styled-check-list li::before {
    content: '\F26B';
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--accent-emerald);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Portfolio Product Catalog Styles */
.portfolio-header {
    background: var(--gradient-dark);
    color: #ffffff;
    padding: 4.5rem 0 3.5rem 0;
    text-align: center;
}

.search-filter-bar {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    margin-top: -2.5rem;
    position: relative;
    z-index: 10;
}

.search-input-group {
    position: relative;
}

.search-input-group i {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.1rem;
}

.search-input-group input {
    padding-left: 3rem;
    border-radius: var(--radius-full);
    height: 48px;
    border: 1px solid var(--border-color);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.filter-pill {
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    background: var(--bg-alt);
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition-fast);
    cursor: pointer;
    user-select: none;
}

.filter-pill:hover, .filter-pill.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

/* Product Card */
.product-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.product-img-wrapper {
    height: 220px;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.product-img-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: var(--transition-normal);
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.08);
}

.partner-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
}

.product-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-division {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.35;
    color: var(--text-main);
}

.product-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    flex-grow: 1;
}

/* News Cards */
.news-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.news-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.news-body {
    padding: 1.5rem;
}

.news-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Pagination */
.custom-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 3rem;
}

.page-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: #ffffff;
    color: var(--text-main);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    cursor: pointer;
}

.page-btn:hover, .page-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Floating Action Button (Home) */
.floating-home {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1020;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-bounce);
    text-decoration: none;
}

.floating-home:hover {
    color: white;
    transform: scale(1.12) translateY(-3px);
    background: var(--primary-dark);
}

/* Footer */
.site-footer {
    background: var(--gradient-dark);
    color: #94a3b8;
    padding-top: 4.5rem;
    padding-bottom: 2rem;
    font-size: 0.95rem;
}

.site-footer h5 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.site-footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover {
    color: #f7941e;
    transform: translateX(4px);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1rem;
    color: #cbd5e1;
}

.footer-contact-item i {
    color: #f7941e;
    font-size: 1.1rem;
    margin-top: 3px;
}

.footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 3rem 0 1.5rem 0;
}

/* Admin Dashboard Specific Styles */
.admin-sidebar {
    min-height: 100vh;
    background: #0f172a;
    color: white;
}

.admin-sidebar .nav-link {
    color: #94a3b8 !important;
    border-radius: var(--radius-sm);
    margin-bottom: 0.3rem;
}

.admin-sidebar .nav-link:hover, .admin-sidebar .nav-link.active {
    background: var(--primary) !important;
    color: white !important;
}

.stat-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.stat-card .stat-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

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

/* Image Overlay Container (Operations & Business Processes) */
.image-overlay-container {
    position: relative;
    max-height: 440px;
    min-height: 380px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f172a;
    box-shadow: var(--shadow-lg);
}

.image-overlay-container img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    max-height: 440px;
    object-fit: cover;
    filter: brightness(0.3);
    transition: transform 0.5s ease;
}

.image-overlay-container:hover img {
    transform: scale(1.03);
}

.image-overlay-container .overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 92%;
    max-width: 950px;
    z-index: 2;
    padding: 1rem;
}