/* Globet Technology - Corporate Theme
   Colors: Navy Blue #0a192f, Dark Gray #2d2d2d, Whitish Gray #f8f9fa, Accent #64ffda
*/

:root {
    --navy: #0a192f;
    --navy-light: #112240;
    --navy-lighter: #1a3555;
    --dark: #2d2d2d;
    --dark-light: #3d3d3d;
    --gray: #6c757d;
    --light: #f8f9fa;
    --lighter: #f0f2f5;
    --white: #ffffff;
    --accent: #64ffda;
    --accent-dark: #45e0be;
    --text-light: #ccd6f6;
    --text-dark: #333333;
    --border-color: #e8eaed;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --shadow-accent: 0 8px 30px rgba(100,255,218,0.2);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

html { scroll-behavior: smooth; }
body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    background: var(--white);
    padding-top: 76px;
    overflow-x: hidden;
}

a { text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-dark); }

.text-accent { color: var(--accent) !important; }
.bg-navy { background-color: var(--navy) !important; }
.bg-dark-custom { background-color: var(--dark) !important; }
.bg-light-custom { background-color: var(--light) !important; }

.btn-accent {
    background: var(--accent);
    color: var(--navy);
    border: none;
    padding: 10px 28px;
    font-weight: 600;
    border-radius: 6px;
    transition: var(--transition);
}
.btn-accent:hover {
    background: var(--accent-dark);
    color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.3);
}
.btn-outline-accent {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    padding: 8px 26px;
    font-weight: 600;
    border-radius: 6px;
    transition: var(--transition);
}
.btn-outline-accent:hover {
    background: var(--accent);
    color: var(--navy);
    transform: translateY(-2px);
}
.btn-navy {
    background: var(--navy);
    color: white;
    border: none;
    padding: 10px 28px;
    font-weight: 600;
    border-radius: 6px;
    transition: var(--transition);
}
.btn-navy:hover {
    background: var(--navy-lighter);
    color: white;
    transform: translateY(-2px);
}

.section-padding { padding: 100px 0; }
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 15px;
}
.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto 50px;
}

/* Glassmorphism Utilities */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.glass-panel-dark {
    background: rgba(10, 25, 47, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Navbar */
#mainNav {
    background: var(--navy) !important;
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(10, 25, 47, 0.15);
    transition: var(--transition);
}
#mainNav .navbar-brand { color: white !important; font-size: 1.3rem; }
#mainNav .navbar-brand span.text-accent { color: var(--accent) !important; }
#mainNav .nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    padding: 8px 16px !important;
    border-radius: 6px;
    transition: var(--transition);
}
#mainNav .nav-link:hover,
#mainNav .nav-link.active {
    color: var(--accent) !important;
    background: rgba(100, 255, 218, 0.08);
}
#mainNav .dropdown-menu {
    background: var(--navy-light);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 8px;
    margin-top: 8px;
}
#mainNav .dropdown-item {
    color: var(--text-light);
    padding: 8px 16px;
    border-radius: 6px;
    transition: var(--transition);
}
#mainNav .dropdown-item:hover {
    background: rgba(100, 255, 218, 0.1);
    color: var(--accent);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--navy) 0%, #0d2137 50%, #112240 100%);
    min-height: 55vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2364ffda' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}
.hero-content { position: relative; z-index: 2; }
.hero-badge {
    display: inline-block;
    background: rgba(100, 255, 218, 0.1);
    color: var(--accent);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 20px;
    border: 1px solid rgba(100, 255, 218, 0.2);
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    line-height: 1.15;
    margin-bottom: 20px;
}
.hero-title span { color: var(--accent); }
.hero-description {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 540px;
    line-height: 1.8;
    margin-bottom: 30px;
}
.hero-image { position: relative; z-index: 2; }

/* Service Cards */
.service-card {
    background: white;
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    height: 100%;
    position: relative;
    overflow: hidden;
}
.service-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 4px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.4s ease-in-out;
    transform-origin: left;
}
.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.service-card:hover::after {
    transform: scaleX(1);
}
.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent) 0%, rgba(100,255,218,0.2) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--navy);
}
.service-card h5 { color: var(--navy); font-weight: 600; }
.service-card p { color: var(--gray); font-size: 0.92rem; line-height: 1.7; }

/* Industry Cards */
.industry-card {
    background: white;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    height: 100%;
    position: relative;
    z-index: 1;
}
.industry-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-lighter) 100%);
    border-radius: 16px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.industry-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-lg);
    color: white;
    border-color: transparent;
}
.industry-card:hover::before {
    opacity: 1;
}
.industry-card:hover h6 { color: var(--accent); }
.industry-card:hover p { color: var(--text-light); }
.industry-icon {
    width: 60px;
    height: 60px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
    color: var(--accent);
}

/* Testimonials */
.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow); }
.testimonial-stars { color: #ffc107; margin-bottom: 15px; }
.testimonial-text {
    font-style: italic;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 20px;
}
.testimonial-author { display: flex; align-items: center; gap: 15px; }
.testimonial-avatar {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--navy);
}
.testimonial-author h6 { margin-bottom: 2px; color: var(--navy); }
.testimonial-author small { color: var(--gray); }

/* Counter Section */
.counter-section {
    background: linear-gradient(135deg, var(--navy) 0%, #0d2137 100%);
    padding: 80px 0;
}
.counter-item { text-align: center; }
.counter-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 5px;
}
.counter-label { color: var(--text-light); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1px; }

/* Portfolio Cards */
.portfolio-card {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    margin-bottom: 25px;
    cursor: pointer;
}
.portfolio-card img { width: 100%; height: 250px; object-fit: cover; transition: var(--transition); }
.portfolio-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, var(--navy));
    padding: 30px 20px 20px;
    color: white;
    transform: translateY(30px);
    opacity: 0;
    transition: var(--transition);
}
.portfolio-card:hover .portfolio-overlay { transform: translateY(0); opacity: 1; }
.portfolio-card:hover img { transform: scale(1.05); }
.portfolio-overlay h5 { color: var(--accent); font-weight: 600; }
.portfolio-overlay small { color: var(--text-light); }

/* Blog Cards */
.blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    margin-bottom: 25px;
}
.blog-card:hover { 
    box-shadow: var(--shadow-lg); 
    transform: translateY(-8px); 
}
.blog-card img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.6s ease; }
.blog-card:hover img { transform: scale(1.05); }
.blog-card-body { padding: 20px; }
.blog-category {
    display: inline-block;
    background: rgba(100, 255, 218, 0.1);
    color: var(--accent);
    padding: 3px 12px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 500;
}
.blog-card h5 { font-size: 1.1rem; margin: 10px 0; }
.blog-card h5 a { color: var(--navy); }
.blog-card h5 a:hover { color: var(--accent); }
.blog-card p { color: var(--gray); font-size: 0.9rem; line-height: 1.6; }

/* Team Cards */
.team-card {
    text-align: center;
    background: white;
    border-radius: 12px;
    padding: 30px 20px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.team-avatar {
    width: 120px; height: 120px;
    border-radius: 50%;
    background: var(--light);
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--navy);
    border: 3px solid var(--accent);
}
.team-card h5 { color: var(--navy); margin-bottom: 5px; }
.team-card .designation { color: var(--accent); font-size: 0.9rem; font-weight: 500; }
.team-card p { color: var(--gray); font-size: 0.85rem; margin-top: 10px; }

/* Contact Form */
.contact-section { background: var(--light); }
.contact-info-card {
    background: var(--navy);
    color: white;
    border-radius: 12px;
    padding: 35px;
    height: 100%;
}
.contact-info-card .info-item { margin-bottom: 25px; }
.contact-info-card .info-item i {
    width: 40px; height: 40px;
    background: rgba(100,255,218,0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.1rem;
}
.contact-form-wrapper {
    background: white;
    border-radius: 12px;
    padding: 35px;
    box-shadow: var(--shadow);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--navy) 0%, #0d2137 100%);
    padding: 120px 0 60px;
    text-align: center;
}
.page-header h1 { color: white; font-weight: 700; font-size: 2.5rem; }
.page-header .breadcrumb { justify-content: center; background: transparent; }
.page-header .breadcrumb-item,
.page-header .breadcrumb-item a { color: var(--text-light); }
.page-header .breadcrumb-item.active { color: var(--accent); }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: var(--text-light); }

/* Footer */
.footer { background: #0d1117 !important; }
.footer h5, .footer h6 { color: white; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-light); font-size: 0.9rem; transition: var(--transition); }
.footer-links a:hover { color: var(--accent); padding-left: 5px; }
.footer-contact li { color: var(--text-light); font-size: 0.9rem; }
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: var(--text-light);
    transition: var(--transition);
}
.social-icon:hover { background: var(--accent); color: var(--navy); transform: translateY(-3px); }

/* Floating Buttons */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 55px; height: 55px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(37,211,102,0.4);
    transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); color: white; box-shadow: 0 6px 20px rgba(37,211,102,0.5); }

.chatbot-float {
    position: fixed;
    bottom: 165px;
    right: 25px;
    width: 55px; height: 55px;
    background: var(--accent);
    color: var(--navy);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(100,255,218,0.4);
    cursor: pointer;
    transition: var(--transition);
}
.chatbot-float:hover { transform: scale(1.1); }

.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 45px; height: 45px;
    background: var(--navy);
    color: white;
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    z-index: 999;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.back-to-top.show { display: flex; }
.back-to-top:hover { background: var(--navy-lighter); transform: translateY(-3px); }

/* Chatbot Modal */
.chatbot-modal {
    position: fixed;
    bottom: 230px;
    right: 25px;
    width: 350px;
    max-height: 500px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    display: none;
    overflow: hidden;
    border: 1px solid var(--border-color);
}
.chatbot-modal.open { display: block; }
.chatbot-header {
    background: var(--navy);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.chatbot-body {
    padding: 20px;
    max-height: 350px;
    overflow-y: auto;
    background: var(--light);
}
.chat-message { display: flex; gap: 10px; margin-bottom: 15px; }
.chat-message.bot .chat-avatar {
    width: 32px; height: 32px;
    background: var(--accent);
    color: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}
.chat-message.user { flex-direction: row-reverse; }
.chat-message.user .chat-avatar {
    width: 32px; height: 32px;
    background: var(--navy);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}
.chat-text {
    background: white;
    padding: 10px 15px;
    border-radius: 12px;
    max-width: 80%;
    font-size: 0.9rem;
    box-shadow: 0 1px 5px rgba(0,0,0,0.05);
}
.chat-message.bot .chat-text { background: white; border-bottom-left-radius: 4px; }
.chat-message.user .chat-text { background: var(--accent); color: var(--navy); border-bottom-right-radius: 4px; }
.chatbot-footer { padding: 12px 15px; border-top: 1px solid var(--border-color); background: white; }

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark);
    color: white;
    padding: 15px 0;
    z-index: 9999;
    display: none;
}
.cookie-consent.show { display: block; }

/* Dashboard Cards */
.dashboard-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}
.dashboard-card:hover { box-shadow: var(--shadow); }
.dashboard-icon {
    width: 50px; height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}
.dashboard-card h3 { font-weight: 700; color: var(--navy); margin-top: 10px; }
.dashboard-card p { color: var(--gray); font-size: 0.9rem; }

/* Table Styles */
.table-custom { background: white; border-radius: 12px; overflow: hidden; }
.table-custom thead { background: var(--navy); color: white; }
.table-custom th { font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; padding: 14px 16px; }
.table-custom td { padding: 12px 16px; vertical-align: middle; border-color: var(--border-color); }

/* Status Badges */
.badge-status { padding: 5px 12px; border-radius: 50px; font-size: 0.78rem; font-weight: 500; }
.badge-new { background: #e3f2fd; color: #1565c0; }
.badge-active { background: #e8f5e9; color: #2e7d32; }
.badge-pending { background: #fff3e0; color: #ef6c00; }
.badge-completed { background: #e8f5e9; color: #2e7d32; }
.badge-closed { background: #f3e5f5; color: #7b1fa2; }
.badge-cancelled { background: #ffebee; color: #c62828; }
.badge-draft { background: #f5f5f5; color: #616161; }
.badge-sent { background: #e3f2fd; color: #1565c0; }
.badge-approved { background: #e8f5e9; color: #2e7d32; }
.badge-paid { background: #e8f5e9; color: #2e7d32; }
.badge-overdue { background: #ffebee; color: #c62828; }
.badge-inprogress { background: #fff3e0; color: #ef6c00; }
.badge-qualified { background: #e8f5e9; color: #2e7d32; }
.badge-lost { background: #ffebee; color: #c62828; }

/* Search Box */
.search-box { position: relative; }
.search-box input {
    padding: 10px 15px 10px 40px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    width: 100%;
    transition: var(--transition);
}
.search-box input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(100,255,218,0.15); outline: none; }
.search-box i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--gray); }

/* Sidebar */
.sidebar {
    background: var(--navy);
    min-height: calc(100vh - 76px);
    padding: 20px 0;
}
.sidebar .nav-link {
    color: var(--text-light);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    border-left: 3px solid transparent;
}
.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    background: rgba(100,255,218,0.08);
    color: var(--accent);
    border-left-color: var(--accent);
}
.sidebar .nav-link i { width: 20px; text-align: center; }

/* Responsive */
@media (max-width: 991px) {
    .hero-title { font-size: 2.5rem; }
    .section-padding { padding: 60px 0; }
    .counter-number { font-size: 2.2rem; }
}
@media (max-width: 767px) {
    .hero-title { font-size: 2rem; }
    .section-title { font-size: 1.8rem; }
    .page-header { padding: 100px 0 40px; }
    .page-header h1 { font-size: 1.8rem; }
    .chatbot-modal { width: 300px; right: 15px; bottom: 220px; }
}

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