/* ========================================
   ORBIS GLOBAL PVT LTD
   Blue & White Corporate Theme
   ======================================== */

:root {
    --navy: #0a1f44;
    --navy-dark: #061434;
    --blue: #1e4fd6;
    --blue-light: #3b6ee8;
    --blue-bright: #2563eb;
    --sky: #e0ebff;
    --bg-light: #f5f8ff;
    --white: #ffffff;
    --text: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --shadow-sm: 0 2px 8px rgba(10, 31, 68, 0.06);
    --shadow-md: 0 8px 24px rgba(10, 31, 68, 0.08);
    --shadow-lg: 0 20px 50px rgba(10, 31, 68, 0.12);
    --shadow-blue: 0 12px 40px rgba(30, 79, 214, 0.25);
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Force consistent fonts across all elements */
button, input, textarea, select {
    font-family: var(--font-body) !important;
}

h1, h2, h3, h4, h5, h6,
.section-title, .hero-title, .page-banner h1 {
    font-family: var(--font-display);
}

p, span, a, label, li, td, th {
    font-family: var(--font-body);
}

img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ========== TOP BAR ========== */
.top-bar {
    background: var(--navy-dark);
    color: var(--white);
    font-size: 13px;
    padding: 10px 0;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.top-bar-left { display: flex; gap: 24px; flex-wrap: wrap; }

.top-bar-left a, .top-bar-right a {
    color: rgba(255,255,255,0.85);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.top-bar-left a:hover, .top-bar-right a:hover { color: var(--white); }
.top-bar-left i, .top-bar-right i { width: 14px; height: 14px; }
.top-bar-right svg { width: 14px; height: 14px; transition: var(--transition); }
.top-bar-right a { display: inline-flex; align-items: center; }
.top-bar-right { display: flex; gap: 16px; }

/* ========== HEADER ========== */
.header {
    position: sticky;
    top: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    gap: 32px;
}

.logo { display: flex; align-items: center; }
.logo img { height: 70px; width: auto; transition: var(--transition); }
.logo img:hover { transform: scale(1.03); }

.nav {
    display: flex;
    gap: 30px;
    margin-left: auto;
    margin-right: 24px;
}

.nav > a, .nav > .dropdown > a {
    color: var(--text);
    font-weight: 500;
    font-size: 15px;
    position: relative;
    transition: var(--transition);
    padding: 8px 0;
    cursor: pointer;
}

.nav > a:hover, .nav > .dropdown > a:hover,
.nav > a.active, .nav > .dropdown > a.active { color: var(--blue); }

.nav > a::after, .nav > .dropdown > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue);
    transition: var(--transition);
}

.nav > a:hover::after, .nav > .dropdown > a:hover::after,
.nav > a.active::after, .nav > .dropdown > a.active::after { width: 100%; }

/* Dropdown */
.dropdown { position: relative; }

.dropdown > a::after { display: none; }

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.dropdown-toggle i { width: 16px; height: 16px; transition: var(--transition); }
.dropdown:hover .dropdown-toggle i { transform: rotate(180deg); }

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -16px;
    background: var(--white);
    min-width: 260px;
    padding: 12px 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text);
    font-size: 14px;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--blue);
    padding-left: 24px;
}

.header-cta { display: flex; align-items: center; gap: 12px; }

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--navy);
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle i { width: 28px; height: 28px; }

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
    color: var(--white);
    box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(30, 79, 214, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

.btn-large { padding: 16px 32px; font-size: 16px; }
.btn i { width: 18px; height: 18px; transition: var(--transition); }
.btn:hover i { transform: translateX(3px); }

/* ========== SECTIONS ========== */
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    color: var(--blue);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.tag-light { color: #93c5fd; }

.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 700;
    line-height: 1.15;
    color: var(--navy);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.section-title em {
    font-style: italic;
    color: var(--blue);
    font-weight: 600;
}

.title-light { color: var(--white); }

.section-text {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.7;
}

.text-light { color: rgba(255,255,255,0.8); }

/* ========== PAGE BANNER (for inner pages) ========== */
.page-banner {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy), var(--blue));
    color: var(--white);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.page-banner-inner { position: relative; z-index: 1; }

.page-banner h1 {
    font-family: var(--font-display);
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.page-banner h1 em {
    font-style: italic;
    background: linear-gradient(135deg, #93c5fd, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

.page-banner p {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    max-width: 700px;
    margin: 0 auto;
}

.breadcrumb {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    background: rgba(255,255,255,0.1);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.breadcrumb a { color: rgba(255,255,255,0.7); transition: var(--transition); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: var(--white); }
.breadcrumb i { width: 14px; height: 14px; opacity: 0.5; }

/* ========== FOOTER ========== */
.footer {
    background: var(--navy-dark);
    color: rgba(255,255,255,0.85);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 60px;
}

.footer-logo { margin-bottom: 20px; }
.footer-logo img { height: 64px; width: auto; background: white; padding: 10px 14px; border-radius: 10px; box-shadow: 0 4px 12px rgba(0,0,0,0.2); }

.footer-col p {
    line-height: 1.7;
    font-size: 14px;
    margin-bottom: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-col p i {
    width: 16px;
    height: 16px;
    margin-top: 3px;
    color: #93c5fd;
    flex-shrink: 0;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover { background: var(--blue); transform: translateY(-2px); }
.footer-social i { width: 18px; height: 18px; }
.footer-social svg { width: 18px; height: 18px; }

.footer-col h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }

.footer-col ul a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: var(--transition);
}

.footer-col ul a:hover { color: #93c5fd; padding-left: 4px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-links { display: flex; gap: 24px; }

.footer-links a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer-links a:hover { color: var(--white); }

/* ========== FLOATING ACTIONS ========== */
.floating-actions {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.float-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.float-btn.whatsapp { 
    background: #25D366; 
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    width: 60px;
    height: 60px;
    animation: whatsappPulse 2.5s infinite;
}

.float-btn.call { background: var(--blue); }
.float-btn.email { background: var(--navy); }

.float-btn:hover { transform: scale(1.1); }
.float-btn i { width: 26px; height: 26px; }

.whatsapp-icon {
    width: 32px;
    height: 32px;
    fill: white;
    display: block;
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.6); }
    50% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(37, 211, 102, 0); }
}

/* ========== ANIMATIONS ========== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

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

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: var(--shadow-lg);
        align-items: flex-start;
    }
    
    .nav.open { display: flex; }
    .mobile-toggle { display: block; }
    .header-cta .btn { display: none; }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 8px 0 8px 16px;
        background: transparent;
    }
    
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .top-bar-left { font-size: 12px; gap: 14px; }
    .section { padding: 60px 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
