/* CSS Variables - Color Palette */
:root {
    /* Primary Colors - High Contrast Pastels */
    --primary-green: #24c35f;
    --primary-blue: #309fcb;
    --primary-purple: #b278cc;
    --primary-orange: #f27532;
    --primary-teal: #1eb6ac;
    
    /* Light Shades */
    --light-green: #a9cec2;
    --light-blue: #a5d1ff;
    --light-purple: #e7d6ec;
    --light-orange: #e6c87b;
    --light-teal: #87d6cd;
    
    /* Dark Shades */
    --dark-green: #2a904a;
    --dark-blue: #257dba;
    --dark-purple: #782c8e;
    --dark-orange: #a13f1a;
    --dark-teal: #137e65;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --gray: #575e64;
    --dark-gray: #404850;
    --black: #000000;
    
    /* Conservative Font Sizes */
    --font-size-base: 16px;
    --font-size-sm: 14px;
    --font-size-lg: 18px;
    --font-size-xl: 20px;
    --font-size-xxl: 24px;
    --font-size-h1: 28px;
    --font-size-h2: 24px;
    --font-size-h3: 20px;
    --font-size-h4: 18px;
    --font-size-h5: 16px;
    --font-size-h6: 14px;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-green), var(--primary-teal));
    --gradient-secondary: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    --gradient-accent: linear-gradient(135deg, var(--primary-orange), var(--primary-teal));
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

/* Typography - Conservative Font Sizes */
h1 {
    font-size: var(--font-size-h1);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-green);
}

h2 {
    font-size: var(--font-size-h2);
    font-weight: 600;
    margin-bottom: 1.01rem;
    color: var(--dark-blue);
}

h3 {
    font-size: var(--font-size-h3);
    font-weight: 500;
    margin-bottom: 0.82rem;
    color: var(--dark-purple);
}

h4 {
    font-size: var(--font-size-h4);
    font-weight: 500;
    margin-bottom: 0.63rem;
    color: var(--dark-orange);
}

h5 {
    font-size: var(--font-size-h5);
    font-weight: 500;
    margin-bottom: 0.52rem;
    color: var(--dark-teal);
}

h6 {
    font-size: var(--font-size-h6);
    font-weight: 500;
    margin-bottom: 0.47rem;
    color: var(--gray);
}

p {
    font-size: var(--font-size-base);
    margin-bottom: 1rem;
    color: var(--gray);
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Header Styles */
.navbar {
    background: var(--gradient-primary);
    backdrop-filter: blur(14px);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-brand {
    font-size: var(--font-size-lg) !important;
    font-weight: 700;
    color: var(--white) !important;
    text-decoration: none;
}

.navbar-nav .nav-link {
    font-size: var(--font-size-base);
    font-weight: 500;
    color: var(--white) !important;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 214px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section h1 {
    padding-top: 150px;
}

.hero-section {
    background: var(--gradient-secondary);
    position: relative;
    overflow: hidden;
    margin-top: 76px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../NAK_images/hero-pattern.webp') no-repeat center center;
    background-size: cover;
    opacity: 0.1;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: var(--font-size-h1);
    color: var(--white);
    margin-bottom: 1rem;
}

.hero-section h2 {
    font-size: var(--font-size-h2);
    color: var(--light-gray);
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: var(--font-size-base);
    color: var(--light-gray);
    margin-bottom: 2rem;
}

/* Section Styles */
.py-5 {
    padding: 3rem 0;
}

.bg-light {
    background-color: var(--light-gray) !important;
}

/* Card Styles */
.feature-card,
.service-card,
.case-study-card,
.price-card,
.team-card,
.review-card,
.blog-card,
.method-card,
.regulation-card,
.expertise-card,
.project-card,
.quality-card,
.tech-card,
.lab-card,
.monitoring-card,
.mitigation-card,
.training-card,
.info-card,
.career-card {
    background: var(--white);
    border-radius: 110px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-card:hover,
.service-card:hover,
.case-study-card:hover,
.price-card:hover,
.team-card:hover,
.review-card:hover,
.blog-card:hover,
.method-card:hover,
.regulation-card:hover,
.expertise-card:hover,
.project-card:hover,
.quality-card:hover,
.tech-card:hover,
.lab-card:hover,
.monitoring-card:hover,
.mitigation-card:hover,
.training-card:hover,
.info-card:hover,
.career-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Service Cards */
.service-card {
    background: var(--gradient-primary);
    color: var(--white);
}

.service-card .service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.service-price {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--light-green);
    text-align: center;
    margin-top: 1rem;
}

/* Team Cards */
.team-card .team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 4px solid var(--primary-green);
}

/* Price Cards */
.price-card {
    text-align: center;
    position: relative;
}

.price-card.featured {
    background: var(--gradient-accent);
    color: var(--white);
    transform: scale(1.05);
}

.price-card .price {
    font-size: var(--font-size-xxl);
    font-weight: 700;
    color: var(--primary-green);
    margin: 1rem 0;
}

.price-card.featured .price {
    color: var(--white);
}

/* Icons */
.feature-icon,
.feature-icon-lg,
.contact-icon,
.info-icon {
    font-size: 2.53rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.feature-icon-lg {
    font-size: 3rem;
    color: var(--primary-blue);
}

.contact-icon {
    font-size: 2rem;
    color: var(--primary-teal);
    margin-bottom: 0.64rem;
}

.info-icon {
    font-size: 2rem;
    color: var(--primary-purple);
}

/* Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-green);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin: 2rem 0;
    padding: 0 2rem;
}

.timeline-item:nth-child(odd) {
    text-align: right;
    margin-right: 50%;
}

.timeline-item:nth-child(even) {
    text-align: left;
    margin-left: 50%;
}

.timeline-year {
    display: inline-block;
    background: var(--primary-green);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Process Steps */
.process-step {
    position: relative;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Gallery */
.gallery-image {
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-image:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form .form-control {
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    padding: 1rem;
    font-size: var(--font-size-base);
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(72, 226, 163, 0.25);
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    border-radius: 25px;
    padding: 1rem 2rem;
    font-size: var(--font-size-base);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(48, 197, 100, 0.30);
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: var(--light-gray);
}

.footer h5 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary-green);
}

/* Breadcrumb */
.breadcrumb-nav {
    margin-top: 76px;
    padding: 1rem 0;
}

.breadcrumb-icon {
    height: 24px;
    width: 24px;
    opacity: 0.7;
}

/* Space Section */
.space-section {
    min-height: calc(100vh - 200px);
    padding: 100px 0 50px;
    background: var(--light-gray);
}

/* Accordion (FAQ) */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.accordion-button {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    font-weight: 600;
    padding: 1.5rem;
}

.accordion-button:not(.collapsed) {
    background: var(--gradient-secondary);
    color: var(--white);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(58, 190, 93, 0.25);
}

.accordion-body {
    background: var(--white);
    padding: 1.5rem;
}

/* Blog Cards */
.blog-card .blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.blog-content {
    padding: 1.5rem;
}

.read-more {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--dark-green);
}

/* Case Study Images */
.case-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.case-content {
    padding: 1rem 0;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.58rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mt-5 {
    margin-top: 3rem;
}

/* Custom Grid */
.col-lg-2-4 {
    flex: 0 0 auto;
    width: 20%;
}

@media (max-width: 991.98px) {
    .col-lg-2-4 {
        width: 50%;
    }
}

@media (max-width: 575.98px) {
    .col-lg-2-4 {
        width: 100%;
    }
}

/* Image Specifications */
.hero-section img,
.service-image,
.team-photo,
.case-image,
.blog-image,
.gallery-image {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Specify image resolutions for consistent sizing */
.hero-section img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.team-photo {
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.case-image,
.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    :root {
        --font-size-h1: 24px;
        --font-size-h2: 20px;
        --font-size-h3: 18px;
    }
    
    .navbar-brand {
        font-size: var(--font-size-base) !important;
    }
    
    .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
        padding: 2rem 0;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        padding-left: 60px;
        text-align: left !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .timeline-item::before {
        left: 20px;
    }
} 


/* Team Social Links - Rounded Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
}

.social-icons-grid {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.facebook-link:hover {
    background: linear-gradient(135deg, #0d6efd, #1877f2);
}

.linkedin-link {
    background: linear-gradient(135deg, #0a66c2, #2196f3);
}

.linkedin-link:hover {
    background: linear-gradient(135deg, #084a8a, #0a66c2);
}

.x-link {
    background: linear-gradient(135deg, #000000, #333333);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 20px;
}

.x-link:hover {
    background: linear-gradient(135deg, #1a1a1a, #000000);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
