/*
Theme Name: Simcore Corporate Pro
Version: 8.0
*/

:root {
    --bg-body: #f8fafc;       /* Ultra Light Blue-Grey */
    --bg-white: #ffffff;      /* Pure White */
    --primary: #002B5B;       /* Deep Navy */
    --accent: #00A8CC;        /* Teal/Cyan */
    --text-main: #334e68;     /* Dark Slate */
    --text-muted: #64748b;    /* Muted Slate */
    --border-light: #e2e8f0;
    --nav-height: 90px;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.7;
    margin: 0;
    padding: 0; /* Removed top padding to fix gap issue */
    overflow-x: hidden;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
    color: var(--primary);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
}
strong { font-weight: 900; }
p { margin-bottom: 1.5rem; color: var(--text-muted); }
a { color: var(--accent); text-decoration: none; transition: 0.3s; }
a:hover { color: var(--primary); }

/* --- UTILITIES --- */
.section-padding { padding: 100px 0; }
.bg-white { background-color: var(--bg-white); }
.bg-light { background-color: var(--bg-body); }
.text-accent { color: var(--accent) !important; }

/* UNIFORM SECTION HEADERS */
.common-section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.common-section-header .sub-title {
    display: block;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.common-section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* --- NAVBAR --- */
.navbar {
    height: var(--nav-height);
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    padding: 0;
}

.navbar-brand {
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--primary) !important;
    letter-spacing: 1px;
	white-space: nowrap; /* Prevent line break */
    margin-right: 10px; /* Space between logo and toggle */
}

/* Force Header to stay on one line on mobile */
.navbar .container {
    display: flex;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: space-between;
}

/* Flex Gap for Spacing */
.navbar-nav { gap: 2.5rem; }

.nav-link {
    color: var(--text-main) !important;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
}
.nav-link:hover { color: var(--accent) !important; }

/* --- HERO SECTION --- */
.hero-wrapper {
    position: relative;
    /* Large top padding clears the fixed nav */
    padding: 200px 0 140px; 
    background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    background-attachment: scroll;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(0,43,91,0.96) 0%, rgba(0,43,91,0.75) 100%);
    z-index: 0;
}
.hero-content { position: relative; z-index: 1; }

/* --- PAGE HEADERS --- */
.page-header-styled {
    background: linear-gradient(135deg, var(--primary) 0%, #00152e 100%);
    /* Padding Top compensates for Fixed Nav */
    padding: 160px 0 80px;
    color: white;
    text-align: center;
}
.page-header-styled h1 { color: white; margin-bottom: 10px; }
.page-header-styled p { color: rgba(255,255,255,0.7); font-size: 1.2rem; margin: 0; }

/* --- SERVICE CARDS (Tech Style - Blue Top) --- */
.tech-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    border-top: 4px solid var(--accent);
    transition: all 0.3s ease;
    height: 100%;
}
.tech-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: transparent;
}
.icon-box {
    width: 60px; height: 60px;
    background: rgba(0, 168, 204, 0.08);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
    font-size: 1.5rem;
    margin-bottom: 25px;
    transition: 0.3s;
}
.tech-card:hover .icon-box { background: var(--accent); color: white; }


/* --- WHY CHOOSE BENEFITS --- */
.benefit-card {
    display: flex;
    align-items: center;
    padding: 30px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    transition: all 0.3s ease;
    height: 100%;
}
.benefit-card:hover {
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transform: translateY(-5px);
}
.benefit-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: rgba(0, 168, 204, 0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 1.2rem;
    transition: 0.3s;
}
.benefit-card:hover .benefit-icon {
    background: var(--accent);
    color: white;
}
.benefit-text {
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.4;
    font-size: 1.05rem;
}

.why-section {
    background-color: var(--primary);
    background-image: linear-gradient(135deg, rgba(0, 43, 91, 0.95), rgba(0, 21, 46, 0.98)), 
                      url('https://www.transparenttextures.com/patterns/cubes.png'); /* Subtle pattern */
    padding: 100px 0;
    color: white;
    position: relative;
}

/* Header within Dark Section */
.why-header h2 { color: white; }
.why-header .sub-title { color: var(--accent); opacity: 0.9; }
.why-header p { color: rgba(255,255,255,0.6); }

/* The Grid Container */
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 Columns */
    gap: 0; /* Borders will define the gap */
    border-top: 1px solid rgba(255,255,255,0.1);
    border-left: 1px solid rgba(255,255,255,0.1);
}

/* Individual Item (No Card, Just Space) */
.why-item {
    padding: 40px;
    border-right: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: flex-start;
    transition: 0.3s;
}

.why-item:hover {
    background: rgba(255,255,255,0.03); /* Subtle highlight */
}

/* Icon Styling */
.why-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-right: 25px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(0, 168, 204, 0.4)); /* Glow effect */
    transition: 0.3s;
}

.why-item:hover .why-icon {
    transform: scale(1.1);
    color: white;
}

/* Text Styling */
.why-content h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.why-content p {
    color: rgba(255,255,255,0.5);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}



/* --- CLIENT SUCCESS CARDS (Distinct Style - No Blue Top) --- */
.success-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    position: relative;
    border: 1px solid var(--border-light);
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    height: 100%;
    transition: 0.3s;
    overflow: hidden;
}

.success-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border-color: var(--accent); /* Full border color change */
}

.quote-watermark {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 80px;
    line-height: 1;
    color: #f1f5f9;
    font-family: serif;
    z-index: 0;
}
.success-content { position: relative; z-index: 1; }


/* --- TRUSTED SECTION (New "Module" Design) --- */
.trusted-wrapper {
    background: #ffffff;
    padding: 80px 0;
    border-top: 1px solid var(--border-light);
}

/* The Container for the item */
.trusted-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px; /* Space between dot and text */
    background: #f1f5f9; /* Light Grey Default */
    padding: 15px 15px;
    border-radius: 50px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    cursor: default;
}

/* The Text */
.trusted-text {
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 1px;
    transition: 0.3s;
}

/* The Status Dot */
.trusted-dot {
    width: 8px;
    height: 8px;
    background-color: #cbd5e1; /* Inactive grey */
    border-radius: 50%;
    transition: 0.3s;
}

/* Hover Effects */
.trusted-item:hover {
    background: white;
    border-color: var(--accent);
    box-shadow: 0 10px 25px rgba(0, 168, 204, 0.15);
    transform: translateY(-5px);
}

.trusted-item:hover .trusted-text {
    color: var(--primary);
}

.trusted-item:hover .trusted-dot {
    background-color: var(--accent);
    box-shadow: 0 0 10px var(--accent); /* Glowing effect */
}

/* --- BUTTONS --- */
.btn-primary-custom {
    background-color: var(--accent);
    color: white;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 700;
    border: 2px solid var(--accent);
    display: inline-block;
}
.btn-primary-custom:hover { background-color: transparent; color: var(--accent); }

.btn-outline-custom {
    border: 2px solid white;
    color: white;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
}
.btn-outline-custom:hover { background: white; color: var(--primary); }

/* --- FOOTER --- */
footer {
    background-color: #050b14;
    padding: 80px 0 30px;
    color: #94a3b8;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.social-icons a { margin-right: 15px; color: #94a3b8; font-size: 1.2rem; }
.social-icons a:hover { color: var(--accent); }

/* --- RESPONSIVE --- */
@media (max-width: 991px) {
    .navbar { height: auto; padding: 10px 0; }
    .navbar-collapse {
        background: white;
        padding: 20px;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    .hero-wrapper { text-align: center; }
	
    .why-grid { grid-template-columns: 1fr; }
    .why-item { border-left: none; border-right: none; padding: 30px 15px; }

}