/* Color Palette - 5 Primary Colors with Light/Dark Shades */
:root {
    /* Primary Colors */
    --color-primary: #574def;      /* Indigo */
    --color-secondary: #02b877;    /* Emerald */
    --color-accent: #de7800;       /* Amber */
    --color-tertiary: #fc5593;     /* Pink */
    --color-neutral: #7990a2;      /* Slate */
    
    /* Light Shades */
    --color-primary-light: #afbcff;
    --color-secondary-light: #7ee9b5;
    --color-accent-light: #ffae1b;
    --color-tertiary-light: #ff91da;
    --color-neutral-light: #9aa3bb;
    
    /* Dark Shades */
    --color-primary-dark: #4125bf;
    --color-secondary-dark: #0e9072;
    --color-accent-dark: #d06e15;
    --color-tertiary-dark: #c00f5e;
    --color-neutral-dark: #4f5b6f;
    
    /* Backgrounds */
    --bg-gradient: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    --bg-gradient-accent: linear-gradient(135deg, var(--color-accent), var(--color-tertiary));
    
    /* Conservative Font Sizes */
    --font-size-navbar: 1rem;
    --font-size-h1: 2.5rem;
    --font-size-p: 1rem;
}

/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--color-neutral-dark);
    font-size: var(--font-size-p);
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
        transition-duration: 0.01ms;
        scroll-behavior: auto;
    }
}

/* Header Styles */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
    transition: all 0.3s ease;
    box-shadow: 0 5px 21px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: var(--font-size-navbar);
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
}

.navbar-nav .nav-link {
    color: var(--color-neutral-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--color-primary);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 7px;
    bottom: -5px;
    left: 50%;
    background: var(--color-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    background: var(--bg-gradient);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../NOD_images/hero-bg.webp') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: var(--font-size-h1);
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ffffff, var(--color-accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-top: 150px;
}

.hero-section h2 {
    font-size: 1.64rem;
    font-weight: 300;
    margin-bottom: 1.61rem;
    opacity: 0.9;
}

.hero-section p {
    font-size: 1.24rem;
    opacity: 0.8;
    max-width: 500px;
}

/* Section Spacing */
section {
    padding: 80px 0;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.39rem;
    color: var(--color-primary-dark);
}

h3 {
    font-size: 1.55rem;
    color: var(--color-neutral);
    font-weight: 400;
}

h4 {
    font-size: 1.30rem;
    color: var(--color-neutral-dark);
}

/* Cards */
.feature-card,
.service-card,
.pricing-card,
.review-card,
.blog-card,
.content-card,
.info-card,
.case-study-card,
.career-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 7px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* Bootstrap card integration */
.card.service-card,
.card.pricing-card,
.card.blog-card {
    padding: 0;
    border-radius: 12px;
}

.feature-card:hover,
.service-card:hover,
.pricing-card:hover,
.review-card:hover,
.blog-card:hover,
.content-card:hover,
.info-card:hover,
.case-study-card:hover,
.career-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Service Cards */
.service-card {
    text-align: center;
    overflow: hidden;
}

.service-card .card-img-top {
    height: 200px;
    object-fit: cover;
    border-radius: 0;
    margin-bottom: 0;
}

.service-card .price {
    font-size: 1.59rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-top: 1rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.service-card ul li {
    padding: 0.5rem 0;
    color: var(--color-neutral);
    text-align: left;
}

/* Remove old service card list styling since we're using FontAwesome icons now */

/* Feature Items */
.feature-item {
    padding: 2rem 1rem;
}

.feature-item i {
    color: var(--color-primary);
    margin-bottom: 1.69rem;
}

/* Pricing Cards */
.pricing-card {
    position: relative;
    text-align: center;
}

.pricing-card.featured {
    border: 2px solid var(--color-primary);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 1.00rem;
    font-weight: 600;
    z-index: 10;
}

.price-tag {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
    margin: 1rem 0;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}

.pricing-card ul li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.pricing-card ul li:last-child {
    border-bottom: none;
}

/* Team Members */
.team-member img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin-bottom: 1rem;
}

/* Reviews */
.review-card {
    text-align: center;
}

.stars {
    color: var(--color-accent);
}

/* Blog Cards */
.blog-card {
    overflow: hidden;
}

.blog-card .card-img-top {
    height: 200px;
    object-fit: cover;
    border-radius: 0;
    margin-bottom: 0;
}

/* Process Steps */
.process-step {
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--bg-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.62rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-primary-light);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: var(--color-primary);
    border-radius: 50%;
    border: 5px solid white;
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--bg-gradient);
    color: white;
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline-primary {
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--color-primary);
    color: white;
}

/* Forms */
.form-control {
    border: 2px solid #c5d7e7;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(97, 103, 255, 0.10);
}

/* Gallery */
#gallery img {
    border-radius: 8px;
    transition: transform 0.3s ease;
}

#gallery img:hover {
    transform: scale(1.05);
}

/* FAQ Accordion */
.accordion-button {
    font-weight: 600;
    color: var(--color-neutral-dark);
}

.accordion-button:not(.collapsed) {
    background-color: var(--color-primary-light);
    color: var(--color-primary-dark);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--color-neutral-dark), #27344f);
}

footer h5,
footer .sitename {
    color: white;
    margin-bottom: 1.57rem;
    font-weight: 700;
}

footer a {
    color: #afbbc8;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--color-primary-light);
}

/* Space Page */
#space {
    min-height: 70vh;
    background: var(--bg-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Accessibility improvements */
.visually-hidden-focusable:focus {
    position: static !important;
    width: auto !important;
    height: auto !important;
    padding: 0.5rem 1rem !important;
    margin: 0 !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: normal !important;
}

/* Enhanced form styling */
.form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.25rem rgba(75, 78, 218, 0.25);
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.39rem;
    font-size: 0.875em;
    color: #ce3754;
}

/* Improved button hover states */
.btn:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Enhanced card accessibility */
.card:focus-within {
    box-shadow: 0 0 0 3px rgba(99, 115, 251, 0.25);
}

/* Breadcrumbs */
.breadcrumb-nav {
    background: #f8fafc;
    border-bottom: 1px solid #d9dee3;
}

.breadcrumb-img {
    width: 30px;
    height: 20px;
    object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    :root {
        --font-size-h1: 2rem;
    }
    
    .hero-section {
        padding: 60px 0;
        text-align: center;
    }
    
    section {
        padding: 60px 0;
    }
    
    .pricing-card.featured {
        transform: none;
        margin-top: 2rem;
    }
    
    .timeline {
        padding-left: 1rem;
    }
    
    .timeline::before {
        left: 10px;
    }
    
    .timeline-item::before {
        left: -20px;
    }
} 


/* Team Social Links - Minimal Style */
.team-social-links {
    margin-top: 16px;
    padding: 10px 0;
}

.social-icons-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    background: white;
}

.social-link:hover {
    transform: translateY(-1px);
    color: white;
}

.facebook-link:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: white;
}

.linkedin-link:hover {
    background: #0a66c2;
    border-color: #0a66c2;
    color: white;
}

.x-link {
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 18px;
    color: inherit;
}

.x-link:hover {
    background: #000000;
    border-color: #000000;
    color: white;
}

.x-link:hover::after {
    color: white;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 15px;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}
