/* Global Styles */
:root {
    /* PANTONE 662 C - Primary blue for headings and important text */
    --primary-blue: #001A70;
    --deep-blue: #001147; /* Darker variant of PANTONE 662 C */
    
    /* PANTONE 2423 C - Accent green for buttons and highlights */
    --accent-green: #00AA13;
    --accent-green-dark: #00850F; /* Darker variant for hover states */
    --accent-green-light: #00C515; /* Lighter variant */
    
    /* Legacy teal variables - keeping for compatibility, can be removed if not needed */
    --teal-accent: #00AA13; /* Using PANTONE 2423 C */
    --teal-dark: #00850F; /* Darker variant */
    
    /* Neutral colors */
    --light-gray: #f5f7fa;
    --border-gray: #e2e8f0;
    --text-dark: #001A70; /* PANTONE 662 C for main text */
    --text-light: #4a5568; /* Slightly lighter for secondary text */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    padding-top: 76px; /* Account for fixed navbar */
}

/* Navigation */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    color: var(--primary-blue) !important;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.navbar-brand:hover {
    opacity: 0.8;
}

.navbar-logo {
    height: 40px;
    width: auto;
    margin-right: 12px;
    object-fit: contain;
}

.navbar-brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

/* Hide text on very small screens, show only logo */
@media (max-width: 400px) {
    .navbar-brand-text {
        font-size: 1.2rem;
    }
    
    .navbar-logo {
        height: 35px;
        margin-right: 8px;
    }
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent-green) !important; /* PANTONE 2423 C */
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: var(--accent-green); /* PANTONE 2423 C */
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 600px;
}

.carousel-slide {
    height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* Fallback gradients (used when no image is provided or image fails to load) */
/* Using PANTONE 662 C (#001A70) variations for blue gradients */
.slide-1 {
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 26, 112, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 17, 71, 0.5) 0%, transparent 50%),
        linear-gradient(135deg, var(--deep-blue) 0%, var(--primary-blue) 50%, #002080 100%);
    background-size: cover, cover, cover;
    background-position: center;
}

.slide-2 {
    background: 
        radial-gradient(circle at 80% 30%, rgba(0, 26, 112, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 20% 70%, rgba(0, 17, 71, 0.3) 0%, transparent 50%),
        linear-gradient(135deg, var(--primary-blue) 0%, #002080 50%, var(--deep-blue) 100%);
    background-size: cover, cover, cover;
    background-position: center;
}

.slide-3 {
    background: 
        radial-gradient(circle at 50% 50%, rgba(0, 17, 71, 0.4) 0%, transparent 70%),
        radial-gradient(circle at 10% 20%, rgba(0, 26, 112, 0.3) 0%, transparent 50%),
        linear-gradient(135deg, #002080 0%, var(--primary-blue) 50%, var(--deep-blue) 100%);
    background-size: cover, cover, cover;
    background-position: center;
}

/* Dark overlay for background images to ensure text readability */
/* Using PANTONE 662 C (#001A70) with transparency */
.carousel-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 17, 71, 0.75) 0%, rgba(0, 26, 112, 0.7) 50%, rgba(0, 32, 128, 0.75) 100%);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Show overlay when background image is present (set via JavaScript) */
.carousel-slide.has-bg-image .carousel-image-overlay {
    opacity: 1;
}

/* When background image is applied via JavaScript, layer it with gradients */
.carousel-slide.has-bg-image {
    /* JavaScript will set background-image, and gradients will show through if image fails */
    /* The dark overlay div provides the darkening effect over the image */
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    padding: 2rem 0;
    z-index: 2;
}

.carousel-item h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.carousel-item .lead {
    font-size: 1.25rem;
    font-weight: 400;
}

.hero-tagline {
    background-color: var(--light-gray);
    border-top: 1px solid var(--border-gray);
}

.hero-tagline p {
    color: var(--text-dark);
    font-size: 1.1rem;
    max-width: 900px;
    margin: 0 auto;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.3);
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-indicators {
    bottom: 30px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid transparent;
}

.carousel-indicators button.active {
    background-color: white;
    border-color: white;
}

/* Buttons */
.btn-primary {
    background-color: var(--accent-green); /* PANTONE 2423 C */
    border-color: var(--accent-green);
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--accent-green-dark);
    border-color: var(--accent-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 170, 19, 0.3); /* PANTONE 2423 C with transparency */
}

/* Sections */
.section-padding {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.bg-light {
    background-color: var(--light-gray) !important;
}

/* Service Cards */
.service-card {
    border: 1px solid var(--border-gray);
    border-radius: 10px;
    transition: all 0.3s ease;
    background: white;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-green); /* PANTONE 2423 C */
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-green), var(--accent-green-dark)); /* PANTONE 2423 C */
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.service-card .card-title {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-card .card-text {
    color: var(--text-light);
    line-height: 1.7;
}

/* Client Cards */
.client-card {
    border: 1px solid var(--border-gray);
    border-radius: 10px;
    transition: all 0.3s ease;
    background: white;
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-green); /* PANTONE 2423 C */
}

.client-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), var(--deep-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto;
}

.client-card .card-title {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 1rem;
}

.client-card .card-text {
    color: var(--text-light);
    line-height: 1.7;
}

/* Feature Blocks */
.feature-block {
    padding: 2rem;
    background: white;
    border-radius: 10px;
    border: 1px solid var(--border-gray);
    height: 100%;
    transition: all 0.3s ease;
}

.feature-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-green); /* PANTONE 2423 C */
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-green), var(--accent-green-dark)); /* PANTONE 2423 C */
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.feature-block h4 {
    color: var(--primary-blue);
    font-weight: 600;
}

.feature-block p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Team Section */
.team-card {
    border: 1px solid var(--border-gray);
    border-radius: 10px;
    transition: all 0.3s ease;
    background: white;
    overflow: hidden;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-green); /* PANTONE 2423 C */
}

.team-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--light-gray);
    transition: all 0.3s ease;
}

.team-card:hover .team-photo {
    border-color: var(--accent-green); /* PANTONE 2423 C */
    transform: scale(1.05);
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-card .card-title {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1.25rem;
}

.team-card .card-text {
    color: var(--text-light);
    font-size: 0.95rem;
}

.team-linkedin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--accent-green); /* PANTONE 2423 C */
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.team-linkedin:hover {
    background: var(--accent-green-dark);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 170, 19, 0.3); /* PANTONE 2423 C with transparency */
}

/* About Section */
.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: var(--text-dark);
}

.highlight-icon {
    color: var(--accent-green); /* PANTONE 2423 C */
    font-size: 1.2rem;
}

.about-visual {
    padding: 2rem;
}

.about-icon {
    color: var(--accent-green); /* PANTONE 2423 C */
    opacity: 0.9;
}

/* Trust Statements Strip */
.trust-strip {
    background: linear-gradient(135deg, var(--primary-blue), var(--deep-blue));
    border-radius: 10px;
    color: white;
    margin-top: 3rem;
}

.trust-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.trust-text {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    padding: 0 1rem;
}

/* Compliance Strip */
.compliance-strip {
    background: linear-gradient(135deg, var(--deep-blue), var(--primary-blue));
    padding: 2.5rem 0;
    border-top: 3px solid var(--accent-green); /* PANTONE 2423 C */
    border-bottom: 3px solid var(--accent-green); /* PANTONE 2423 C */
}

.compliance-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.badge-item {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.badge-item:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent-green); /* PANTONE 2423 C */
    transform: translateY(-2px);
}

.badge-item i {
    font-size: 1.1rem;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--accent-green), var(--accent-green-dark)); /* PANTONE 2423 C */
}

.timeline-item {
    position: relative;
    padding-left: 120px;
    margin-bottom: 3rem;
    display: flex;
    align-items: flex-start;
}

.timeline-number {
    position: absolute;
    left: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent-green), var(--accent-green-dark)); /* PANTONE 2423 C */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0, 170, 19, 0.3); /* PANTONE 2423 C with transparency */
    z-index: 1;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border-gray);
    flex: 1;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.timeline-content h4 {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Use Case Cards */
.use-case-card {
    border: 1px solid var(--border-gray);
    border-radius: 10px;
    transition: all 0.3s ease;
    background: white;
}

.use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-green); /* PANTONE 2423 C */
}

.use-case-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-green), var(--accent-green-dark)); /* PANTONE 2423 C */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto;
}

.use-case-card .card-title {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 0;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 10px;
    border: 1px solid var(--border-gray);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.contact-form .form-label {
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.contact-form .form-control,
.contact-form .form-select {
    border: 1px solid var(--border-gray);
    border-radius: 5px;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--accent-green); /* PANTONE 2423 C */
    box-shadow: 0 0 0 0.2rem rgba(0, 170, 19, 0.25); /* PANTONE 2423 C with transparency */
}

/* Footer */
.footer {
    background-color: var(--deep-blue) !important;
    color: white;
}

.footer h4 {
    color: white;
    font-weight: 600;
}

.footer a {
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--accent-green) !important; /* PANTONE 2423 C */
}

.footer .bi-linkedin {
    font-size: 1.5rem;
}

.footer .btn-primary {
    background-color: var(--accent-green); /* PANTONE 2423 C */
    border-color: var(--accent-green);
}

.footer .btn-primary:hover {
    background-color: var(--accent-green-dark);
    border-color: var(--accent-green-dark);
}

.footer-logo {
    height: 35px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    opacity: 0.9;
    margin-bottom: 0.5rem;
    display: inline-block;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 1;
}

/* If logo has transparent background and needs to be white, uncomment below */
/* .footer-logo {
    filter: brightness(0) invert(1);
} */

/* Alternative: If logo should remain its original colors on dark background */
/* Remove the filter above and ensure your logo PNG has a transparent background */

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-green); /* PANTONE 2423 C */
    color: white;
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0, 170, 19, 0.3); /* PANTONE 2423 C with transparency */
}

.back-to-top:hover {
    background: var(--accent-green-dark);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 170, 19, 0.4); /* PANTONE 2423 C with transparency */
}

.back-to-top.show {
    display: flex;
}

.back-to-top i {
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .carousel-item h1 {
        font-size: 1.8rem;
    }

    .carousel-item .lead {
        font-size: 1rem;
    }

    .carousel-slide {
        height: 500px;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .section-padding {
        padding: 3rem 0;
    }

    .timeline::before {
        left: 25px;
    }

    .timeline-item {
        padding-left: 70px;
    }

    .timeline-number {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }

    .timeline-content {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .trust-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .trust-text {
        font-size: 0.9rem;
    }

    .compliance-strip {
        padding: 2rem 0;
    }

    .compliance-badges {
        gap: 0.75rem;
    }

    .badge-item {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .about-highlights {
        gap: 0.5rem;
    }

    .highlight-item {
        font-size: 0.9rem;
    }

    .hero-tagline p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.2rem;
    }

    .carousel-item h1 {
        font-size: 1.5rem;
    }

    .btn-primary {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    .service-icon,
    .client-icon,
    .feature-icon,
    .use-case-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .client-icon,
    .use-case-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .compliance-badges {
        flex-direction: column;
        align-items: stretch;
    }

    .badge-item {
        justify-content: center;
    }

    .navbar-logo {
        height: 32px;
        margin-right: 8px;
    }

    .navbar-brand-text {
        font-size: 1.1rem;
    }

    .footer-logo {
        height: 30px;
    }

    .team-photo {
        width: 120px;
        height: 120px;
    }

    .team-card .card-title {
        font-size: 1.1rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Section Spacing */
section {
    scroll-margin-top: 80px;
}

