/* Custom Styles */

/* NAVIGATION */
.header .navmenu ul li a {
    color: rgba(0, 229, 255, 0.7);
    transition: color 0.3s ease;
}

.header .navmenu ul li a:hover,
.header .navmenu ul li a.active {
    color: #00e5ff;
}

/* STATS CARDS */
.stats-card {
    position: relative;
    overflow: hidden;
    background: #0a0a0a;
    border: 1px solid rgba(38, 129, 246, 0.1);
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #2681f6;
    opacity: 0;
    transition: opacity 0.3s;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
    border-color: rgba(38, 129, 246, 0.25);
}

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

.stats-card .icon-wrapper {
    transition: all 0.3s;
}

.stats-card:hover .icon-wrapper {
    transform: scale(1.05);
}

/* Unique colors for each stat card */
.stats-card:nth-child(1) {
    border-left: 2px solid #2681f6;
}

.stats-card:nth-child(2) {
    border-left: 2px solid #623fd4;
}

.stats-card:nth-child(3) {
    border-left: 2px solid #12dffa;
}

.stats-card:nth-child(4) {
    border-left: 2px solid #2681f6;
}

/* PRICING CARDS */
.pricing-item {
    transition: all 0.3s ease !important;
    background: #0a0a0a;
    border: 1px solid rgba(38, 129, 246, 0.1);
}

.pricing-item:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6) !important;
    border-color: rgba(38, 129, 246, 0.25);
}

.pricing-item.featured {
    background: #111111;
    border: 1px solid rgba(38, 129, 246, 0.3);
}

.pricing-item.featured:hover {
    transform: scale(1.01) translateY(-5px) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7) !important;
}

.pricing-item .btn {
    transition: all 0.3s ease;
}

.pricing-item .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(38, 129, 246, 0.3);
}

.pricing-item:not(.featured) .btn:hover {
    background: rgba(38, 129, 246, 0.15) !important;
}

/* SECTIONS */
.section {
    position: relative;
}

.section>.container {
    position: relative;
    z-index: 1;
}

/* CLIENTS SECTION */
.clients-section-custom {
    background: #000000;
    border-top: 1px solid rgba(38, 129, 246, 0.1);
    border-bottom: 1px solid rgba(38, 129, 246, 0.1);
}

.client-card {
    background: #0a0a0a;
    border: 1px solid rgba(38, 129, 246, 0.1);
    border-radius: 0;
    padding: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.client-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #2681f6, transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.client-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(38, 129, 246, 0.3);
    box-shadow: 0 15px 40px rgba(38, 129, 246, 0.15);
}

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

.client-card img {
    filter: grayscale(100%) brightness(0.7);
    transition: all 0.4s ease;
    opacity: 0.6;
}

.client-card:hover img {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

/* GLOBAL BUTTONS */
.btn-arctic {
    background: linear-gradient(135deg, #2681f6 0%, #1d4ed8 100%);
    border: none;
    color: white;
    padding: 12px 28px;
    border-radius: 0;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(38, 129, 246, 0.3);
}

.btn-arctic:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(38, 129, 246, 0.4);
}

.btn-arctic-outline {
    background: transparent;
    border: 2px solid #2681f6;
    color: #2681f6;
    padding: 12px 28px;
    border-radius: 0;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-arctic-outline:hover {
    background: rgba(38, 129, 246, 0.1);
    box-shadow: 0 0 20px rgba(38, 129, 246, 0.2);
}

/* SECTION TITLES */
.section-title-arctic h2 {
    background: linear-gradient(135deg, #ffffff 0%, #bfdbfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title-arctic .subtitle {
    color: #60a5fa;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* TEXT EFFECTS */
.text-glow-blue {
    text-shadow: 0 0 20px rgba(38, 129, 246, 0.5);
}

.text-gradient-arctic {
    background: linear-gradient(135deg, #2681f6 0%, #12dffa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* WHY NORTHSTAR SECTION */
.why-icon-card {
    padding: 30px 15px;
    transition: all 0.4s ease;
}

.why-icon-card .icon-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.why-icon-card .icon-wrapper i {
    font-size: 3.5rem;
    background: linear-gradient(180deg, #a8c8ff 0%, #5a8fd4 50%, #3a6bb0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 8px rgba(90, 143, 212, 0.3));
    transition: all 0.3s ease;
}

.why-icon-card:hover .icon-wrapper i {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 12px rgba(90, 143, 212, 0.5));
}

.why-icon-card h5 {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    line-height: 1.4;
}

.why-icon-card:hover h5 {
    color: #a8c8ff;
}

/* CONSOLIDATED STYLES */
/* From About Page */
.company-section {
    background: #000000;
    padding: 60px 0;
}

.company-section h2 {
    color: #00e5ff;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.company-section .lead-text {
    font-size: 1.2rem;
    color: #ffffff;
    line-height: 1.8;
    margin-bottom: 20px;
}

.company-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.7;
}

.use-cases-section {
    background: #000000;
    padding: 60px 0;
}

.use-cases-section h2 {
    color: #00e5ff;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 30px;
}

.use-case-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.use-case-item i {
    color: #00e5ff;
    font-size: 0.8rem;
    margin-top: 8px;
}

.use-case-item p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.values-section {
    background: #000000;
    padding: 60px 0;
}

.values-section h2 {
    color: #00e5ff;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 40px;
    text-align: center;
}

.value-card {
    text-align: center;
    padding: 30px 20px;
    height: 100%;
}

.value-card .value-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-card .value-icon i {
    font-size: 2.5rem;
    background: linear-gradient(180deg, #00e5ff 0%, #2681f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.value-card h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.value-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.mission-section {
    background: linear-gradient(135deg, #00e5ff 0%, #2681f6 100%);
    padding: 50px 0;
    text-align: center;
}

.mission-section h2 {
    color: #000000;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.mission-section p {
    color: rgba(0, 0, 0, 0.85);
    font-size: 1.2rem;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 500;
}

/* From Services Page */
.stat-box {
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
}

.service-card {
    background: #0c1220;
    border: 1px solid rgba(38, 129, 246, 0.15);
    padding: 40px 30px;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #2681f6;
    box-shadow: 0 10px 30px rgba(38, 129, 246, 0.15);
}

.service-card.featured {
    border-color: #2681f6;
    background: linear-gradient(145deg, #0c1220 0%, rgba(38, 129, 246, 0.05) 100%);
}

.service-card .service-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    pointer-events: none;
}

.service-card .service-icon-wrapper {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(38, 129, 246, 0.1);
    border-radius: 0;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon-wrapper {
    background: #2681f6;
}

.service-card .service-icon i {
    font-size: 32px;
    color: #2681f6;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon i {
    color: #ffffff;
}

.service-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
}

.service-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    line-height: 1.6;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.service-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.service-list li::before {
    content: "›";
    position: absolute;
    left: 0;
    color: #2681f6;
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
    top: -2px;
}

.service-pricing {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    margin-top: auto;
}

.service-pricing .price-tag {
    font-size: 1.5rem;
    font-weight: 700;
    color: #00e5ff;
}

.service-pricing .service-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.service-pricing .service-btn:hover {
    color: #2681f6;
    gap: 12px;
}

/* Testimonials */
.testimonial-item {
    background: #0c1220;
    padding: 30px;
    border-radius: 0;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-item .stars {
    margin-bottom: 15px;
    color: #dcdcdc;
}

.testimonial-item p {
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

.testimonial-profile {
    display: flex;
    align-items: center;
    margin-top: auto;
}

.testimonial-profile img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #2681f6;
    margin-right: 15px;
    object-fit: cover;
}

.testimonial-profile h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
}

.testimonial-profile h4 {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 5px 0 0 0;
}

/* Portfolio Load More Logic */
/* 90 DEGREE ANGLES GLOBAL OVERRIDE */
* {
    border-radius: 0 !important;
}

/* UPDATED NAVIGATION */
.header .navmenu ul li a {
    color: rgba(135, 206, 250, 0.9);
    /* Brighter color */
    transition: color 0.3s ease;
    text-transform: uppercase;
    font-size: 1.15rem;
    font-weight: 600;
    padding: 18px 15px;
}

.header .navmenu ul li a:hover,
.header .navmenu ul li a.active {
    color: #00ffff;
    /* Very bright cyan */
}

/* TYPOGRAPHY SYSTEM */
/* Standardized Section Titles */
.section-title h2,
.text-center h2,
/* Catch-all for inline styles */
h2[style*="linear-gradient"] {
    /* Target gradient h2s specifically */
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    background: none !important;
    -webkit-background-clip: border-box !important;
    -webkit-text-fill-color: #ffffff !important;
    margin-bottom: 15px !important;
}

/* Standardized Section Labels (The text above H2) */
.section-title span,
.section-label,
.text-center span.text-uppercase {
    color: #00e5ff !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 3px !important;
    display: block !important;
    margin-bottom: 10px !important;
}

/* Standardized Body Text in Sections */
.section-title p {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 1rem !important;
    max-width: 700px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    line-height: 1.6 !important;
}

/* COMPACT SECTIONS - REDUCE SPACING */
.section {
    padding: 30px 0 !important;
}

section {
    padding: 30px 0 !important;
}

.company-section,
.use-cases-section,
.values-section,
.mission-section,
.why-northstar,
.clients-section-custom,
.stats,
.certifications,
.recognition {
    padding: 30px 0 !important;
}

/* Hero section specific */
#hero {
    padding: 50px 0 30px 0 !important;
}

/* Services and pricing */
#services,
#pricing {
    padding: 30px 0 !important;
}

/* Testimonials */
#testimonials {
    padding: 30px 0 !important;
}