:root {
    --primary: #112944;
    --secondary: #93B7BE;
    --light: #F1FFFA;
    --accent-red: #DB3A34;
    --accent-green: #0C7C59;
}

body {
    font-family: 'Libre Franklin', sans-serif;
    color: #333;
    background-color: #fff;
    /* Add padding for fixed navbar */
    padding-top: 70px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

/* Hero Section */
.hero-section {
    background-color: var(--primary);
    color: #fff;
    padding: 8rem 0;
    position: relative;
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-section .overlay {
    background-color: rgba(17, 41, 68, 0.85);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section h2 {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

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

.section-bg-light {
    background-color: var(--light);
}

.section-bg-secondary {
    background-color: var(--secondary);
    color: var(--primary);
}

/* Card Styling */
.card {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 2rem;
}

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

/* Service Card Styling */
.service-card-container {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.service-learn-more {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 0;
    border: 2px solid var(--accent-red) !important;
    background-color: white !important;
    color: var(--accent-red) !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-learn-more:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--accent-red);
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: -1;
}

.service-learn-more:hover {
    color: white !important;
    border-color: var(--accent-red) !important;
}

.service-learn-more:hover:before {
    width: 100%;
}

.card-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

/* Button Styling */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #0c1d31;
    border-color: #0c1d31;
}

.btn-accent {
    background-color: var(--accent-red);
    border-color: var(--accent-red);
    color: white;
}

.btn-accent:hover, .btn-accent:focus {
    background-color: #c02e28;
    border-color: #c02e28;
    color: white;
}

.btn-success {
    background-color: var(--accent-green);
    border-color: var(--accent-green);
}

.btn-success:hover, .btn-success:focus {
    background-color: #0a614a;
    border-color: #0a614a;
}

/* Text Colors */
.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.text-accent {
    color: var(--accent-red) !important;
}

.text-accent-green {
    color: var(--accent-green) !important;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
}

.navbar-brand {
    padding: 10px 0;
}

/* Scrolled navbar style */
.navbar-scrolled {
    padding: 0.3rem 1rem;
    background-color: var(--primary) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.navbar-scrolled .navbar-brand img {
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

/* Custom Nav Active State */
.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--accent-red);
}

/* Data Warehousing Section */
.data-warehousing-section {
    background-color: #f8f9fa;
    padding: 5rem 0;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.tech-pill {
    background-color: var(--primary);
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
}

/* Team Cards */
.team-card img {
    border-radius: 50%;
    max-width: 200px;
}

/* Case Study Cards */
.case-study-card {
    position: relative;
    overflow: hidden;
}

.case-study-card img {
    transition: transform 0.3s ease;
}

.case-study-card:hover img {
    transform: scale(1.05);
}

/* FAQ Styling */
.accordion-button:not(.collapsed) {
    background-color: var(--light);
    color: var(--primary);
}

.accordion-button:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 0.25rem rgba(147, 183, 190, 0.25);
}

/* Platform Integration Section */
.platform-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin: 40px 0;
}

.platform-logo {
    height: 50px;
    transition: all 0.3s ease;
    object-fit: contain;
}

.platform-logo:hover {
    transform: translateY(-3px);
}

/* Client Logo Showcase */
.client-logos-container {
    margin: 30px auto;
    max-width: 1100px;
    padding: 20px 0;
    position: relative;
}

.client-logos-container::before,
.client-logos-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 50px;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.client-logos-container::before {
    left: 0;
    background: linear-gradient(to right, #fff 30%, rgba(255, 255, 255, 0));
}

.client-logos-container::after {
    right: 0;
    background: linear-gradient(to left, #fff 30%, rgba(255, 255, 255, 0));
}

.client-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 10px 0;
}

.client-logo {
    flex: 0 0 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 85px;
    padding: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.client-logo:hover {
    transform: translateY(-5px);
}

.client-logo img {
    max-width: 85%;
    max-height: 65px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.75;
    transition: all 0.3s ease;
}

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

.placeholder-logo {
    border: 2px dashed #ddd;
    border-radius: 4px;
    text-align: center;
}

.placeholder-logo span {
    font-size: 14px;
    color: #aaa;
}

@media (max-width: 991.98px) {
    .client-logos {
        justify-content: center;
        gap: 25px;
    }
    
    .client-logo {
        flex: 0 0 140px;
        height: 75px;
    }
}

@media (max-width: 767.98px) {
    .client-logos {
        gap: 20px;
    }
    
    .client-logo {
        flex: 0 0 120px;
        height: 70px;
    }
    
    .client-logo img {
        max-height: 50px;
    }
}

.platform-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.platform-card:hover {
    transform: translateY(-5px);
}

.platform-heading {
    position: relative;
    display: inline-block;
    margin-bottom: 25px;
}

.platform-heading:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent-red);
}

/* Service Content Styling */
.service-content {
    padding-right: 20px;
}

.service-content .platform-heading {
    color: var(--primary);
}

/* Service Features List Styling */
.service-features {
    height: 100%;
    border-left: 3px solid var(--accent-red);
}

.service-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.service-list li {
    margin-bottom: 16px;
    position: relative;
    padding-left: 16px;
}

.service-list li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    background-color: var(--accent-red);
    border-radius: 50%;
}

.service-list li strong {
    display: block;
    color: var(--primary);
    margin-bottom: 2px;
    font-size: 15px;
}

.service-list li p.small {
    margin-bottom: 0;
    line-height: 1.4;
}

/* Dropdown Navigation Styling */
.navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-menu {
    padding: 15px 0;
    border: none;
    border-radius: 8px;
    background-color: white;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    margin-top: 0;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    display: block;
}

.services-dropdown {
    min-width: 320px;
}

.dropdown-header {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--primary);
    font-size: 16px;
    padding: 12px 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 8px;
}

.dropdown-item {
    padding: 12px 20px;
    color: #444;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.dropdown-item:hover, 
.dropdown-item:focus {
    background-color: rgba(17, 41, 68, 0.04);
    color: var(--primary);
    border-left: 3px solid var(--accent-red);
}

.dropdown-item.active {
    background-color: rgba(17, 41, 68, 0.08);
    color: var(--primary);
    border-left: 3px solid var(--accent-red);
    font-weight: 600;
}

.dropdown-item.active .dropdown-item-title {
    color: var(--accent-red);
}

.dropdown-item-content {
    display: flex;
    flex-direction: column;
}

.dropdown-item-title {
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 3px;
}

.dropdown-item-description {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.dropdown-divider {
    margin: 8px 0;
    border-color: #f0f0f0;
}

.view-all-link {
    text-align: center;
    color: var(--accent-red) !important;
    font-weight: 500;
    padding: 10px 20px;
}

.view-all-link:hover {
    background-color: transparent;
    color: var(--primary) !important;
}

.view-all-link i {
    font-size: 12px;
    margin-left: 5px;
    transition: transform 0.2s ease;
}

.view-all-link:hover i {
    transform: translateX(3px);
}

/* Mobile Dropdown Navigation */
@media (max-width: 991.98px) {
    .navbar-nav .dropdown-menu {
        border: none;
        box-shadow: none;
        padding: 0 0 0 15px;
        margin-bottom: 10px;
        display: none;
        opacity: 1;
        transform: none;
        pointer-events: auto;
        background-color: transparent;
    }
    
    .navbar-nav .dropdown-menu.show {
        display: block;
    }
    
    .dropdown-item {
        padding: 8px 15px;
        color: rgba(255, 255, 255, 0.8);
        border-left: none;
    }
    
    .dropdown-item:hover, 
    .dropdown-item:focus {
        background-color: transparent;
        color: white;
        border-left: none;
    }
    
    .dropdown-item-title {
        color: rgba(255, 255, 255, 0.9);
    }
    
    .navbar-dark .navbar-nav .nav-link.dropdown-toggle::after {
        vertical-align: middle;
        margin-left: 0.5em;
    }
}

/* Contact Form */
.contact-form .form-control:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 0.25rem rgba(147, 183, 190, 0.25);
}

/* Footer Links Hover */
footer a:hover {
    color: var(--secondary) !important;
    text-decoration: none;
}

/* Certification Badges */
.certification-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 15px 0;
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 15px;
    transition: transform 0.3s ease;
}


.certification-badge {
    max-height: 60px;
    max-width: 200px;
    filter: brightness(1.3);
    border-radius: 0;
    padding: 0;
}

.badge-text {
    font-size: 12px;
    color: #93B7BE;
    margin-top: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Partnership Styling */
.consultation-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.partnership-text {
    color: #667;
    font-style: italic;
    font-size: 14px;
}

.partner-link {
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px dotted transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.partner-link:hover {
    color: var(--accent-red);
    border-bottom-color: var(--accent-red);
}

.partnership-icon {
    font-size: 11px;
    opacity: 0.7;
    transition: all 0.2s ease;
}

.partner-link:hover .partnership-icon {
    opacity: 1;
    transform: translateX(2px);
}

/* Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--accent-green);
    color: white;
    z-index: 1050;
    padding: 15px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.cookie-consent-banner.show {
    transform: translateY(0);
}

.cookie-consent-banner p {
    margin-bottom: 0;
}

.cookie-consent-banner .btn {
    white-space: nowrap;
    background-color: white;
    color: var(--accent-green);
    border: none;
    font-weight: 600;
    padding: 8px 20px;
    transition: all 0.2s ease;
}

.cookie-consent-banner .btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.cookie-consent-banner a {
    color: white;
    text-decoration: underline;
}

.cookie-consent-banner a:hover {
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 4.5rem 0;
    }
    
    .section-padding {
        padding: 3rem 0;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .consultation-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .partnership-text {
        margin-top: 12px;
        font-size: 13px;
    }
    
    .cookie-consent-banner .btn {
        margin-top: 10px;
        width: 100%;
    }
}
