/* 
   BMDigital - Global Styles
   Theme: Professional, Clean, Corporate
*/

:root {
    /* Color Palette - Corporate Light Theme */
    --bg-main: #f8f9fa;       /* Very light gray for main body */
    --bg-surface: #ffffff;    /* Pure white for cards/surfaces */
    --bg-surface-light: #f1f3f5; /* Light gray for subtle sections */
    
    --text-main: #212529;     /* Dark gray/black for high readability */
    --text-muted: #6c757d;    /* Medium gray for secondary text */
    --text-light: #adb5bd;    /* Light gray */

    /* Corporate Accent Colors */
    --brand-blue: #0d6efd;    /* Primary Action / Trust Blue */
    --brand-navy: #0b213f;    /* Headings / Deep Navy */
    --accent-green: #198754;  /* Success / Lead Gen */
    --accent-orange: #fd7e14; /* Warnings / Subtle highlights */

    --white: #ffffff;

    /* Typography */
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Montserrat', sans-serif;

    /* Spacing & Borders */
    --border-radius: 6px;
    --border-radius-lg: 12px;
    --border-color: #dee2e6;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    /* Elegant Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--brand-navy);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--brand-blue);
    transition: var(--transition);
}

a:hover {
    color: var(--brand-navy);
}

ul {
    list-style: none;
}

/* Layout Classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding { padding: 5rem 0; }
.pt-24 { padding-top: 6rem; }
.pb-24 { padding-bottom: 6rem; }
.min-h-screen { min-height: 100vh; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.align-center { align-items: center; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 992px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .md\:grid-cols-2 { grid-template-columns: 1fr; }
    .md\:grid-cols-3 { grid-template-columns: 1fr; }
    .hidden-mobile { display: none !important; }
}
@media (min-width: 769px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .hidden-desktop { display: none !important; }
}

/* Typography Utilities */
.text-center { text-align: center; }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-6xl { font-size: 3.75rem; }
.text-7xl { font-size: 4.5rem; }

.font-bold { font-weight: 700; }
.font-heading { font-family: var(--font-heading); }
.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.05em; }

.text-brand-blue { color: var(--brand-blue); }
.text-brand-navy { color: var(--brand-navy); }
.text-muted { color: var(--text-muted); }
.text-white { color: var(--white); }

.bg-white { background-color: var(--white); }
.bg-surface-light { background-color: var(--bg-surface-light); }
.bg-brand-navy { background-color: var(--brand-navy); color: var(--white); }
.bg-brand-navy h1, .bg-brand-navy h2, .bg-brand-navy h3, 
.bg-brand-navy h4, .bg-brand-navy h5, .bg-brand-navy h6 { color: var(--white); }
.bg-brand-navy .text-muted { color: var(--text-light) !important; }
.bg-brand-navy .text-brand-navy { color: var(--brand-blue) !important; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    border: none;
}

.btn-primary {
    background-color: var(--brand-blue);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
    background-color: #0b5ed7; /* slightly darker blue */
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--bg-surface);
    color: var(--brand-navy);
    border: 1px solid var(--border-color);
}
.btn-secondary:hover {
    background-color: var(--bg-surface-light);
    border-color: var(--brand-blue);
    color: var(--brand-blue);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--brand-blue);
    color: var(--brand-blue);
}
.btn-outline:hover {
    background: var(--brand-blue);
    color: var(--white);
}

/* Cards */
.card {
    background: var(--bg-surface);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
    border-color: rgba(13, 110, 253, 0.3); /* subtle blue border */
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border-color);
}
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-color);
}
.nav-links { display: flex; gap: 2.5rem; }
.nav-link {
    color: var(--brand-navy);
    font-weight: 700;
    font-size: 1.05rem;
    position: relative;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}
.nav-link:hover, .nav-link.active {
    color: var(--brand-blue);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 0;
    width: 0; height: 3px;
    background: var(--brand-blue);
    transition: var(--transition);
    border-radius: 2px;
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Inputs / Forms */
.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}
.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--brand-navy);
    font-weight: 600;
    font-size: 0.9rem;
}
.form-control {
    width: 100%;
    padding: 12px 15px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}
.form-control:focus {
    outline: none;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}

/* Floating WA Icon */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px; height: 60px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 35px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
}
.floating-wa:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}
.floating-wa .tooltip {
    position: absolute;
    right: 80px;
    background: var(--brand-navy);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    transform: translateX(10px);
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
}
.floating-wa:hover .tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}
.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}
.mobile-menu-overlay .nav-link {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--brand-navy);
}
.close-menu {
    position: absolute;
    top: 20px; right: 20px;
    font-size: 2.5rem;
    color: var(--text-muted);
    cursor: pointer;
}

/* New Typing & Drop Animations */
.drop-in {
    opacity: 0;
    transform: translateY(-50px);
    animation: dropIn 0.8s cubic-bezier(0.25, 1.2, 0.5, 1) forwards;
}

@keyframes dropIn {
    to { opacity: 1; transform: translateY(0); }
}

.typing-cursor {
    display: inline-block;
    width: 3px;
    background-color: var(--brand-blue);
    margin-left: 2px;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Premium Detailed Pricing Tables */
.pricing-section {
    background: var(--bg-surface-light);
    border-top: 1px solid var(--border-color);
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: center;
    margin-top: 50px;
}
.pricing-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.pricing-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-blue);
    transform: translateY(-5px);
}
.pricing-card.premium {
    border: 2px solid var(--brand-blue);
    transform: scale(1.05);
    z-index: 10;
    box-shadow: var(--shadow-md);
    background: var(--white);
}
.pricing-card.premium:hover {
    transform: scale(1.05) translateY(-5px);
}
.pricing-ribbon {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-blue);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3);
}
.pricing-title {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    color: var(--brand-navy);
    margin-bottom: 10px;
}
.pricing-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    min-height: 40px;
}
.pricing-price {
    font-size: 3rem;
    font-family: var(--font-heading);
    color: var(--brand-navy);
    font-weight: 800;
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: baseline;
}
.pricing-price .currency {
    font-size: 1.2rem;
    font-weight: 600;
    margin-right: 5px;
    color: var(--text-muted);
}
.pricing-price .period {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: normal;
}
.pricing-features {
    text-align: left;
    margin: 30px 0;
    flex-grow: 1;
}
.pricing-features li {
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.pricing-features li i {
    color: var(--accent-green);
    font-size: 1.2rem;
    margin-top: 2px;
}
.pricing-features li i.bx-x {
    color: var(--accent-orange);
}
.pricing-features li.disabled {
    color: var(--text-light);
    text-decoration: line-through;
}

@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .pricing-card.premium {
        transform: scale(1);
    }
    .pricing-card.premium:hover {
        transform: translateY(-5px);
    }
}
/* Hero Carousel Text Fix */
.hero-carousel h1,
.hero-carousel h2,
.hero-carousel h3,
.hero-carousel p,
.hero-carousel span {
    color: var(--white);
}

/* Optional readability over images */
.hero-carousel h1,
.hero-carousel h2,
.hero-carousel p {
    text-shadow: 0 3px 10px rgba(0,0,0,0.5);
}
/* Fix hero hiding under fixed navbar */
.hero-carousel{
    position: relative;
    width: 100%;
    height: calc(90vh + 120px);
    padding-top:120px;
    overflow:hidden;
}
/* Ensure all hero slides clear the fixed navbar */
.hero-slide{
    padding-top:120px;
    box-sizing:border-box;
}
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 33, 63, 0.95);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.mobile-menu-overlay.active {
    opacity: 1;
}

.mobile-menu-overlay .nav-link {
    font-size: 1.5rem;
    color: white;
}
.hero-stats{
display:flex;
gap:30px;
justify-content:center;
margin-top:40px;
flex-wrap:wrap;
}

.stat-card{
background:rgba(255,255,255,0.08);
backdrop-filter:blur(8px);
padding:20px 30px;
border-radius:12px;
text-align:center;
color:white;
transition:0.3s;
min-width:140px;
}

.stat-card:hover{
transform:translateY(-5px);
box-shadow:0 10px 30px rgba(0,0,0,0.3);
}

.stat-card h3{
font-size:32px;
font-weight:700;
color:#4da6ff;
}

.stat-card p{
font-size:14px;
opacity:0.9;
}