/* Local Fonts */
@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter-Bold.woff2') format('woff2');
    font-weight: 600;
    /* Approximate for bold */
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Fallback Variables */
:root {
    /* New Brand Colors from Logo (Yellow, Pink, Blue) */
    --brand-yellow: #FFD700;
    --brand-pink: #E91E63;
    --brand-blue: #00AEEF;
    --brand-gradient: linear-gradient(135deg, #00AEEF 0%, #E91E63 50%, #FFD700 100%);

    /* Reassigning old variables to new brand identity */
    --primary-green: #E91E63;
    /* Fallback for where 'green' variable name is used in layout */

    --primary-blue: #0A1929;
    --secondary-blue: #172F44;
    --accent-gray: #F4F6F8;
    --text-dark: #1E293B;
    --text-light: #F8FAFC;
    --text-muted: #64748B;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-speed: 0.3s;
    --max-width: 1200px;
}

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

/* REPLACED: .text-green now uses the Gradient Effect */
.text-green {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Fallback for icons that can't be gradient-clipped easily (like font awesome in some contexts) */
i.text-green {
    background: none;
    -webkit-text-fill-color: initial;
    color: var(--brand-pink);
}

.text-gold {
    color: var(--brand-yellow);
}

.text-magenta {
    color: var(--brand-pink);
}

.text-cyan {
    color: var(--brand-blue);
}

.text-orange {
    color: #e67e22;
}

.text-purple {
    color: #8e44ad;
}

/* AI Glow Effect */
.ai-glow {
    text-shadow: 0 0 10px rgba(79, 172, 254, 0.8);
    animation: glowPulse 2s infinite alternate;
}

@keyframes glowPulse {
    from {
        text-shadow: 0 0 5px rgba(79, 172, 254, 0.5);
    }

    to {
        text-shadow: 0 0 15px rgba(79, 172, 254, 1);
    }
}

.bg-alabaster {
    background-color: #F8F9FA;
}

.text-blue {
    color: var(--primary-blue);
}

.text-white {
    color: var(--text-light);
}

/* Layout Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--accent-gray);
}

.bg-blue {
    background-color: var(--primary-blue);
    color: var(--text-light);
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: 1fr 1fr;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2.5rem;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    font-weight: 600;
    font-family: var(--font-heading);
    border-radius: 50px;
    /* More modern rounded look for gradient buttons */
    transition: all var(--transition-speed);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: none;
}

/* REPLACED: Solid Green -> Brand Gradient */
.btn-primary {
    background: var(--brand-gradient);
    background-size: 200% 200%;
    color: white;
    animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4);
    /* Pink Glow */
}

/* REPLACED: Outline Green -> Outline Gradient Border (Trickier, simplifying to solid Pink or Blue for outline) */
.btn-outline {
    position: relative;
    background: transparent;
    color: var(--brand-blue);
    border: 2px solid var(--brand-blue);
    border-radius: 50px;
}

.btn-outline:hover {
    background: var(--brand-blue);
    color: white;
}

/* Header / Navbar */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    padding: 20px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--primary-green);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--secondary-blue);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-green);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-green);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero h1 {
    color: white;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

/* Services Card */
.card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid transparent;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-top-color: var(--brand-pink);
}

.card-icon {
    font-size: 3rem;
    /* Use gradient text for icons */
    background: var(--brand-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
footer {
    background-color: var(--primary-blue);
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    opacity: 0.7;
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--primary-green);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
    font-size: 0.9rem;
}

/* ============================
   Mobile & Tablet Responsiveness
   ============================ */

/* Mobile Navigation Trigger (Hidden on Desktop) */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-left: auto;
    /* Push to right if needed */
    margin-right: 20px;
}

/* Menu Overlay Backdrop */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Dim dark background */
    backdrop-filter: blur(4px);
    /* Blur effect */
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive Media Queries */
@media (max-width: 768px) {

    /* Header Adjustments */
    .nav-container {
        position: static;
        /* Minimize containment issues */
        justify-content: space-between;
    }

    /* Disable header backdrop filter on mobile to prevent stacking issues */
    header {
        backdrop-filter: none;
    }

    .hamburger {
        display: block;
        z-index: 2001;
        /* High z-index */
    }

    .nav-links {
        display: none;
        /* Hide by default */
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 75%;
        max-width: 320px;
        background-color: white !important;
        /* Force white background */
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 80px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 9999;
        /* Extreme z-index */
    }

    .nav-links.active {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        right: 0 !important;
        transform: none !important;
    }

    .nav-links li {
        margin: 20px 0;
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        font-size: 1.2rem;
        color: var(--primary-blue);
        display: block;
        width: 100%;
    }

    /* Typography Scaling */
    h1 {
        font-size: 2.0rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    /* Layout Adjustments */
    .section {
        padding: 40px 0;
    }

    .hero {
        padding: 80px 0;
        text-align: center;
    }

    /* Grid Collapse */
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Footer Stacking */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-col {
        margin-bottom: 20px;
    }

    /* Hide "Get Consultation" button in header on mobile to avoid overcrowding */
    header .btn {
        display: none;
    }

    /* Ensure images/cards don't overflow */
    img {
        max-width: 100%;
        height: auto;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {

    /* Tablet Specifics */
    .container {
        width: 95%;
        max-width: none;
    }

    h1 {
        font-size: 2.8rem;
    }

    /* Fixed orphaned properties */
    .hero-content {
        margin-bottom: 30px;
    }

    .trust-bar-flex {
        flex-wrap: wrap;
    }
}

.tab-btn {
    padding: 10px 25px;
    border: 2px solid var(--primary-green);
    background: transparent;
    color: var(--primary-blue);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--brand-gradient);
    color: white;
    border-color: transparent;
}


/* Ribbon Accents */
.ribbon-cyan {
    border-top: 4px solid var(--brand-blue);
    /* Cyan-ish Blue */
}

.ribbon-magenta {
    border-top: 4px solid var(--brand-pink);
}

.ribbon-gold {
    border-top: 4px solid var(--brand-yellow);
}

/* Redwood Gradient Background */
.bg-redwood-gradient {
    background: linear-gradient(135deg, #FAFAFA 0%, #FFF8E1 100%);
    /* Alabaster to Light Gold */
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}



/* Industry Cards */
.industry-card {
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    background: white;
    cursor: pointer;
}

.industry-card:hover {
    border-color: var(--brand-blue);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.industry-card i {
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.industry-card:hover i {
    transform: scale(1.1);
}

.industry-card span {
    font-weight: 600;
    color: var(--primary-blue);
}

/* Official Brand Icons */
.brand-icon-netsuite {
    background-color: #0075C9;
    /* NetSuite Blue */
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Open Sans', 'Arial', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    line-height: 1;
}

.brand-icon-fusion {
    color: #C74634;
    /* Oracle Red */
    font-size: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-icon-database {
    color: #F80000;
    /* Oracle Red Bright */
    font-size: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Trust Bar Grid */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: start;
    text-align: center;
}

.trust-item {
    padding: 10px;
    transition: transform 0.3s;
}

.trust-item:hover {
    transform: translateY(-5px);
}

.trust-number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.trust-icon-box {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.trust-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-blue);
}

.trust-item p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-muted);
}

@media (max-width: 992px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .trust-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 90%;
    transform: scale(0.9);
    transition: all 0.3s ease;
    text-align: center;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}