/* css/style.css */
:root {
    --primary-blue: #0D2C54;
    --primary-accent: #00A8E8; /* Vibrant Teal/Aqua */
    --primary-accent-darker: #0086b8; /* For hovers */
    --secondary-gray: #4F5B66; /* Body text, secondary info */
    --light-gray-bg: #F8F9FA; /* Subtle section backgrounds */
    --ultra-light-gray: #E9ECEF; /* Alternative light background or borders */
    --white: #FFFFFF;
    --dark-footer: #212529; /* Bootstrap dark bg */
    --font-headings: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --navbar-height: 70px;
    --border-radius-sm: 5px; /* Consistent small border radius */
    --border-radius-md: 8px; /* Consistent medium border radius */
    --shadow-sm: 0 2px 4px rgba(13, 44, 84, 0.05);
    --shadow-md: 0 6px 12px rgba(13, 44, 84, 0.08), 0 3px 6px rgba(13, 44, 84, 0.06);
    --shadow-lg: 0 12px 24px rgba(13, 44, 84, 0.1), 0 8px 12px rgba(13, 44, 84, 0.08);
}

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base font size */
}

body {
    font-family: var(--font-body);
    color: var(--secondary-gray);
    padding-top: var(--navbar-height);
    line-height: 1.75; 
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale; 
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-headings);
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1.3; 
    letter-spacing: -0.5px; 
}

/* --- REFINED .display-3 FOR HERO TITLE --- */
.display-3 { 
    font-size: calc(1.55rem + 2.6vw); 
    line-height: 1.28; 
    letter-spacing: -1.2px; 
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35), 0 1px 3px rgba(0,0,0,0.2); 
}
@media (min-width: 1200px) { .display-3 { font-size: 3.6rem; } } 
@media (min-width: 1400px) { .display-3 { font-size: 4.0rem; } } 
/* --- END REFINED .display-3 --- */


/* Navigation */
.navbar.fixed-top {
    height: var(--navbar-height);
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    background-color: var(--white); 
    box-shadow: var(--shadow-sm); 
}
.navbar.fixed-top.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.97) !important; 
    backdrop-filter: blur(8px); 
    -webkit-backdrop-filter: blur(8px);
    box-shadow: var(--shadow-md) !important;
}
.navbar .navbar-brand img { max-height: calc(var(--navbar-height) - 28px); }
.navbar .nav-link {
    font-weight: 600; color: var(--primary-blue);
    transition: color 0.2s ease; padding: 0.8rem 1rem; 
}
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--primary-accent); }
.navbar .btn-primary-accent { padding: 0.5rem 1.25rem; }
.dropdown-menu {
    border: none; box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius-md); margin-top: 0.5rem; 
}
.dropdown-item { transition: background-color 0.2s ease, color 0.2s ease; }
.dropdown-item:hover { background-color: var(--primary-accent); color: var(--white) !important; }

/* === HERO SECTION === */
.hero-section {
    position: relative; width: 100vw;
    min-height: calc(100vh - var(--navbar-height));
    max-height: 900px; 
    overflow: hidden; display: flex;
    align-items: center; justify-content: center;
    background-color: var(--primary-blue); 
    left: 50%; right: 50%;
    margin-left: -50vw; margin-right: -50vw;
}
.video-background-container {
    position: absolute; top: 0; left: 0;
    width: 100vw; height: 100%;
    z-index: 0; overflow: hidden;
}
.video-background-container iframe {
    position: absolute; top: 50%; left: 50%;
    width: 100vw; height: 56.25vw; 
    min-height: 100%; min-width: 177.77vh; 
    transform: translate(-50%, -50%);
    object-fit: cover; 
}
.hero-overlay {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(155deg, rgba(13, 44, 84, 0.82) 0%, rgba(13, 44, 84, 0.70) 35%, rgba(0, 168, 232, 0.40) 100%); 
    z-index: 1;
}
.hero-content-container {
    position: relative; z-index: 2;
    padding: 2rem 15px; max-width: 980px; 
}
.hero-section .hero-title { color: var(--white); } 

@media (max-width: 768px) {
    .display-3 { font-size: calc(1.35rem + 3.3vw); line-height: 1.3; } 
    .hero-section { min-height: calc(85vh - var(--navbar-height)); }
}
@media (max-width: 576px) {
    .display-3 { font-size: calc(1.25rem + 3.8vw); } 
    .hero-section .hero-subtitle { font-size: 0.95rem; } 
}

.hero-section .hero-subtitle {
    font-size: 1.18rem; 
    font-weight: 400; opacity: 0.95; color: var(--white);
    max-width: 720px; 
    margin-left: auto; margin-right: auto;
}
.hero-section .btn { padding: 0.9rem 2.1rem; font-size: 1.08rem; } 
.hero-section .btn-light {
    background-color: var(--white); color: var(--primary-blue);
    border: 2px solid var(--white); font-weight: 600;
}
.hero-section .btn-light:hover {
    background-color: rgba(255,255,255,0.92); color: var(--primary-blue);
    border-color: rgba(255,255,255,0.92);
}
.hero-section .btn-outline-light {
    border: 2px solid var(--white); color: var(--white); font-weight: 600;
}
.hero-section .btn-outline-light:hover {
    background-color: var(--white); color: var(--primary-blue);
}
.oracle-partner-badge { 
    font-size: 0.9rem; padding: 0.5em 1em; font-weight: 600;
    color: var(--primary-blue) !important; 
    background-color: rgba(255, 255, 255, 0.95) !important;
    border-radius: var(--border-radius-sm);
}

/* General Section Styling */
section { padding-top: 4.5rem; padding-bottom: 4.5rem; } 
.section-title {
    font-size: 2.4rem; 
    margin-bottom: 1.25rem; 
    position: relative; padding-bottom: 0.85rem;
}
.section-title::after {
    content: ''; position: absolute; bottom: 0;
    width: 85px; height: 4px; 
    background-color: var(--primary-accent);
    border-radius: 2px;
}
.text-center .section-title::after { left: 50%; transform: translateX(-50%); }
.text-start .section-title::after { left: 0; transform: none; }

.section-subtitle {
    font-size: 1.2rem; 
    color: var(--secondary-gray); font-weight: 400; 
    max-width: 750px; 
    margin-left: auto; margin-right: auto; 
    margin-bottom: 3rem; 
}
.bg-light { background-color: var(--light-gray-bg) !important; }
.bg-light-alt { background-color: var(--ultra-light-gray) !important; }

/* Buttons */
.btn {
    padding: 0.8rem 1.85rem; 
    font-weight: 600; border-radius: var(--border-radius-sm); 
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1); 
    letter-spacing: 0.4px; 
    border-width: 2px; box-shadow: var(--shadow-sm);
    text-transform: capitalize; 
}
.btn:hover { box-shadow: var(--shadow-md); }
.btn-primary-accent {
    background-color: var(--primary-accent); border-color: var(--primary-accent);
    color: var(--white);
}
.btn-primary-accent:hover {
    background-color: var(--primary-accent-darker); border-color: var(--primary-accent-darker);
    color: var(--white); transform: translateY(-3px); 
    box-shadow: 0 5px 10px rgba(0, 168, 232, 0.35); 
}
.btn-outline-primary-accent {
    color: var(--primary-accent); border-color: var(--primary-accent);
}
.btn-outline-primary-accent:hover {
    background-color: var(--primary-accent); color: var(--white);
    transform: translateY(-2px);
}

/* Client Logos */
.client-logo {
    max-height: 50px; opacity: 0.65; 
    filter: grayscale(100%) contrast(0.8); 
    transition: all 0.3s ease;
}
.client-logo:hover {
    opacity: 1; filter: grayscale(0%) contrast(1);
    transform: scale(1.08); 
}

/* Service Cards & Feature Cards (Shared Enhancements) */
.service-card, .feature-card, .differentiator-card, .approach-card {
    border: 1px solid var(--ultra-light-gray); 
    border-radius: var(--border-radius-md); 
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    background-color: var(--white); 
    box-shadow: var(--shadow-md); 
    height: 100%; 
}
.service-card:hover, .feature-card:hover, .differentiator-card:hover, .approach-card:hover {
    transform: translateY(-8px) scale(1.02); 
    box-shadow: var(--shadow-lg) !important;
}
.service-icon, .feature-icon-md, .approach-icon, .differentiator-icon, .benefit-icon {
    margin-bottom: 1.25rem; display: inline-block; 
}
.service-card .card-title, .feature-card .card-title { 
    color: var(--primary-blue); margin-bottom: 0.75rem;
}
.service-card .card-body, .feature-card .card-body {
    display: flex; flex-direction: column; padding: 2rem; 
}
.service-card .card-text, .feature-card .card-text {
    flex-grow: 1; font-size: 0.9rem; line-height: 1.65; 
}
.service-card .btn, .feature-card .btn { margin-top: auto; }

/* --- OCWMS-AI Spotlight Section - ENSURED VISIBILITY --- */
.ocwms-ai-spotlight { 
    background-color: var(--primary-blue) !important; 
    color: var(--white) !important; 
}
.ocwms-ai-spotlight .section-title, 
.ocwms-ai-spotlight .h1, .ocwms-ai-spotlight .h2, .ocwms-ai-spotlight .h3 { color: var(--white) !important; }

/* Specific fix for OCWMS-AI Spotlight section title underline: REMOVE IT */
.ocwms-ai-spotlight .section-title.text-start::after {
    display: none !important; 
}
/* --- END OCWMS-AI Spotlight Section --- */

/* .ocwms-ai-spotlight .section-title::after { background-color: var(--primary-accent); } -- This is now redundant due to the fix above for text-start */
.ocwms-ai-spotlight .fa-ul .fa-li i { color: var(--primary-accent); }
.ocwms-ai-spotlight img {
    border: 4px solid rgba(255,255,255,0.15); 
    border-radius: var(--border-radius-md);
}

/* Advantage Section */
.advantage-item .icon-circle {
    width: 80px; height: 80px; 
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    margin: 0 auto 1.5rem auto; 
    background-image: linear-gradient(135deg, var(--primary-accent) 0%, var(--primary-accent-darker) 100%); 
    box-shadow: 0 6px 12px rgba(0, 168, 232, 0.35); 
}
.advantage-item .icon-circle i { font-size: 2rem; }

/* Testimonial Cards */
.testimonial-card {
    border: 1px solid var(--ultra-light-gray);
    border-radius: var(--border-radius-md);
    background-color: var(--white);
    box-shadow: var(--shadow-md); 
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}
.testimonial-card .card-body { padding: 2rem; padding-bottom: 0.75rem; } 
.testimonial-card .card-text { font-size: 1rem; color: var(--secondary-gray); font-style: italic; line-height: 1.7; }
.testimonial-card .card-footer {
    border-top: 1px solid var(--ultra-light-gray); 
    background-color: transparent !important;
    padding: 1.25rem 2rem; 
}
.testimonial-author { color: var(--primary-blue); font-size: 1.05rem; font-weight: 600; }

/* Final CTA Section */
.final-cta-section {
    background: linear-gradient(135deg, rgba(13, 44, 84, 0.85) 0%, rgba(0, 168, 232, 0.70) 100%), url('../img/cta-background.jpg') no-repeat center center; 
    background-blend-mode: overlay; 
    background-size: cover;
    padding: 7rem 15px; 
    color: var(--white);
}
.final-cta-section .display-5 { color: var(--white); text-shadow: 0 2px 6px rgba(0,0,0,0.25); }
.final-cta-section .btn-light {
    color: var(--primary-accent-darker); 
    font-weight: 700;
    padding: 0.9rem 2.2rem; 
}

/* Footer */
footer.bg-dark { background-color: var(--dark-footer) !important; padding-top: 4rem; padding-bottom: 4rem; }
footer .footer-heading { color: var(--white); font-size: 1.1rem; margin-bottom: 1.5rem; letter-spacing: 0.5px; }
footer .footer-link {
    color: rgba(255,255,255,0.75); 
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease; 
    font-size: 0.92rem; 
    display: inline-block; 
}
footer .footer-link:hover {
    color: var(--primary-accent);
    padding-left: 6px; 
}
footer .social-icon {
    color: rgba(255,255,255,0.75);
    transition: color 0.2s ease, transform 0.2s ease;
    font-size: 1.15rem; 
}
footer .social-icon:hover { color: var(--primary-accent); transform: scale(1.15); }
footer .small.text-muted { color: rgba(255,255,255,0.6) !important; }

/* Utility Classes */
.text-primary-dark { color: var(--primary-blue) !important; }
.text-primary-accent { color: var(--primary-accent) !important; }
.bg-primary-accent { background-color: var(--primary-accent) !important; }

/* OCWMS-AI page specific features section */
.feature-icon-md { font-size: 2.35rem; }

/* #free-trial form styling */
#free-trial .card { border-radius: var(--border-radius-md); box-shadow: var(--shadow-lg); } 
#free-trial .form-label { font-size: 0.875rem; font-weight: 600; margin-bottom: 0.3rem; }
.form-control, .form-select {
    border-radius: var(--border-radius-sm);
    border: 1px solid #ced4da; 
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    padding: 0.6rem 0.9rem; 
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary-accent);
    box-shadow: 0 0 0 0.25rem rgba(0, 168, 232, 0.25); 
}
#free-trial { 
    padding-top: calc(var(--navbar-height) + 30px); 
    margin-top: calc((var(--navbar-height) + 30px) * -1);
}

/* Page Hero Section for inner pages */
.page-hero-section {
    padding: 5.5rem 0; 
    background-color: var(--primary-blue);
}
.page-hero-section .display-4, .page-hero-section .lead { color: var(--white); }
.page-hero-section .display-4 { letter-spacing: -0.75px; text-shadow: 0 1px 3px rgba(0,0,0,0.15); }

.icon-circle-plain { 
    width: 85px; height: 85px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem auto;
    background-color: var(--ultra-light-gray); 
}
.icon-circle-plain i { font-size: 2rem; color: var(--primary-accent); }

.list-group-item i { width: 22px; }

/* Accordion Styling */
.accordion-item {
    border-radius: var(--border-radius-md) !important; 
    margin-bottom: 1rem; 
    border: 1px solid var(--ultra-light-gray);
    box-shadow: var(--shadow-sm);
    overflow: hidden; 
}
.accordion-button {
    font-weight: 600;
    color: var(--primary-blue);
    padding: 1.25rem 1.5rem; 
}
.accordion-button:not(.collapsed) {
    color: var(--primary-blue);
    background-color: #f0f8ff; 
    box-shadow: inset 0 -1px 0 var(--ultra-light-gray); 
}
.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 168, 232, 0.25); 
}
.accordion-button::after { 
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2300A8E8'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: scale(0.9); 
}
.accordion-body {
    padding: 1.25rem 1.5rem;
    font-size: 0.95rem;
}

/* Consulting Page Specific Styles */
.approach-icon { font-size: 2.15rem; } 

/* Reporting Page Specific Styles */
.benefit-icon { font-size: 2.15rem; }
.tech-logo {
    max-height: 55px; 
    opacity: 0.75;
    filter: grayscale(80%) contrast(0.9); 
}
.tech-logo:hover { filter: grayscale(0%) contrast(1); transform: scale(1.1); opacity: 1; }

/* Why Supplai Page Specific Styles */
.differentiator-icon { font-size: 2.35rem; }

/* Contact Page Specific Styles */
.contact-icon { width: 45px; font-size: 1.35rem; } 
.contact-info-item h5 { margin-bottom: 0.2rem; }
#contactForm .form-label { font-size: 0.9rem; margin-bottom: 0.25rem; }
.social-icon-lg i { transition: color 0.2s ease, transform 0.2s ease; }
.social-icon-lg:hover i { color: var(--primary-blue); transform: scale(1.12); }
#form-status-message .alert { font-weight: 500; border-radius: var(--border-radius-sm); }

