/* Global Styles */
:root {
    --primary: #0056b3;
    --primary-rgb: 0, 86, 179;
    --secondary: #ff6b00;
    --secondary-rgb: 255, 107, 0;
    --dark: #1a1a1a;
    --light: #f8f9fa;
    --gray: #6c757d;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #17a2b8;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 3rem;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: translateY(-2px);
}

.brand-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0056b3;
    display: block;
    line-height: 1.2;
}

.brand-subtitle {
    font-size: 0.75rem;
    color: #666;
    display: block;
}

.hamburger-icon {
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
}

.hamburger-icon span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #0056b3;
    transition: all 0.3s ease;
}

.hamburger-icon span:first-child {
    top: 0;
}

.hamburger-icon span:nth-child(2) {
    top: 9px;
}

.hamburger-icon span:last-child {
    bottom: 0;
}

.navbar-toggler[aria-expanded="true"] .hamburger-icon span:first-child {
    transform: rotate(45deg);
    top: 9px;
}

.navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(2) {
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .hamburger-icon span:last-child {
    transform: rotate(-45deg);
    bottom: 9px;
}

.nav-link {
    font-weight: 500;
    color: #333;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link:hover {
    color: #0056b3;
    transform: translateY(-2px);
}

.nav-link.active {
    color: #0056b3;
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: #0056b3;
    border-radius: 2px;
}

.nav-btn {
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.2);
}

/* Mega Menu Styles */
.has-megamenu {
    position: static !important;
}

.megamenu {
    width: 100%;
    border: none;
    border-radius: 1rem;
    padding: 2rem 0;
    margin-top: 0.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

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

.megamenu-section {
    padding: 1rem;
}

.megamenu-section h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

.megamenu-section ul li {
    margin-bottom: 0.5rem;
}

.megamenu-section ul li a {
    color: #666;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.megamenu-section ul li a:hover {
    color: #0056b3;
    transform: translateX(5px);
}

.highlight-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 1rem;
    padding: 1.5rem;
}

.promo-box {
    text-align: center;
}

.promo-box i {
    margin-bottom: 1rem;
}

.promo-box h5 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.promo-box p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

/* Language Selector */
.language-selector .nav-link {
    padding: 0.5rem;
    font-size: 0.9rem;
}

.language-selector .dropdown-menu {
    min-width: 120px;
    border-radius: 0.5rem;
    margin-top: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.language-selector .dropdown-item {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.language-selector .dropdown-item:hover {
    background: #f8f9fa;
    color: #0056b3;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: 1rem;
        margin-top: 1rem;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    }

    .megamenu {
        padding: 1rem;
    }

    .nav-link {
        padding: 0.75rem 1rem;
    }

    .nav-btn {
        margin-top: 1rem;
        width: 100%;
        justify-content: center;
    }

    .brand-subtitle {
        display: none;
    }
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: #004494;
    border-color: #004494;
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
}

.btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn:hover::after {
    left: 100%;
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Footer */
.footer {
    background: var(--dark);
}

.footer h5 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer p {
    color: rgba(255,255,255,0.8);
}

.footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: white;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 20px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translate3d(20px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand img {
        height: 35px;
    }
    
    .btn {
        padding: 0.5rem 1rem;
    }
}

/* Chatbot Styles */
.message {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 15px;
    max-width: 80%;
}

.message.user {
    background: var(--primary);
    color: white;
    margin-left: auto;
}

.message.bot {
    background: var(--light);
    color: var(--dark);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #004494;
}

/* Dropdown Menu Animations */
.dropdown-menu {
    display: block;
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    margin-top: 0;
}

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

.dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: rgba(var(--primary-rgb), 0.1);
    transform: translateX(5px);
}

.dropdown-item i {
    transition: all 0.3s ease;
}

.dropdown-item:hover i {
    transform: scale(1.2);
}

/* Mobile Menu Enhancements */
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 1rem;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        border-radius: 0;
        margin-top: 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    .navbar-nav {
        padding: 0.5rem 0;
    }

    .nav-item {
        width: 100%;
        margin: 0.25rem 0;
    }

    .nav-link {
        padding: 0.75rem 1rem !important;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 0.75rem;
        font-size: 1rem;
        color: var(--dark) !important;
        transition: all 0.3s ease;
    }

    .nav-link i {
        width: 24px;
        text-align: center;
        font-size: 1.1rem;
        color: var(--primary);
    }

    .nav-link:hover, 
    .nav-link:focus,
    .nav-link.active {
        background: rgba(var(--primary-rgb), 0.05);
        color: var(--primary) !important;
        transform: translateX(5px);
    }

    .dropdown-menu {
        position: static !important;
        transform: none !important;
        padding: 0 0 0 2.5rem;
        margin: 0.5rem 0;
        border: none;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        display: none;
    }

    .dropdown-menu.show {
        display: block;
    }

    .dropdown-item {
        padding: 0.5rem 1rem;
        color: var(--gray);
        border-radius: 8px;
        margin: 0.25rem 0;
    }

    .dropdown-item:hover {
        background: rgba(var(--primary-rgb), 0.05);
        color: var(--primary);
        transform: translateX(5px);
    }

    .megamenu {
        padding: 0 !important;
        margin: 0 !important;
        box-shadow: none !important;
    }

    .megamenu-section {
        padding: 0.5rem 0;
    }

    .megamenu-section h5 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
        color: var(--primary);
    }

    .highlight-box {
        background: rgba(var(--primary-rgb), 0.03);
        padding: 1rem;
        margin-top: 1rem;
        text-align: center;
    }

    .navbar-toggler {
        padding: 0.5rem;
        border: none;
        outline: none !important;
    }

    .hamburger-icon span {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--primary);
        margin: 5px 0;
        transition: all 0.3s ease;
    }

    .navbar-toggler[aria-expanded="true"] .hamburger-icon span:first-child {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(2) {
        opacity: 0;
    }

    .navbar-toggler[aria-expanded="true"] .hamburger-icon span:last-child {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

/* Language Switcher */
.language-switcher img {
    transition: all 0.3s ease;
}

.language-switcher:hover img {
    transform: scale(1.1);
}

/* Modern Card Styles */
.service-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(var(--primary-rgb), 0.1);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--secondary-rgb), 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card .icon-box {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.service-card:hover .icon-box {
    transform: scale(1.1) rotate(-5deg);
}

.service-card .icon-box i {
    font-size: 2rem;
    color: white;
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 2rem;
    min-height: 85vh;
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,249,250,0.95) 100%);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.globe-container {
    position: relative;
    width: 100%;
    height: 750px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -6rem;
}

.globe-container canvas {
    position: absolute;
    width: 100% !important;
    height: 100% !important;
    transform: scale(1.3);
}

.gradient-text {
    background: linear-gradient(45deg, var(--primary) 0%, var(--secondary) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    display: inline-block;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-section .btn {
    padding: 1rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card .icon-box {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-card .icon-box i {
    font-size: 1.75rem;
    color: white;
}

/* Testimonial Cards */
.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(var(--primary-rgb), 0.1);
}

.testimonial-content {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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='%23ffffff' fill-opacity='0.1'%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");
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

.hero-image {
    animation: float 6s ease-in-out infinite;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.service-card, .feature-card, .testimonial-card {
    animation: fadeInScale 0.6s ease-out;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-particles {
        opacity: 0.5;
    }
    
    .hero-section {
        padding-top: 1rem;
        min-height: 70vh;
    }
    
    .hero-section .row {
        min-height: 60vh;
    }
    
    .globe-container {
        height: 550px;
        margin-top: -4rem;
    }
    
    .globe-container canvas {
        transform: scale(1.1);
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }
} 

/* Chatbot Modal Styles */
.modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
}

.modal-header.bg-gradient {
    background: linear-gradient(135deg, #0066ff, #ff6b00);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
}

.ai-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #2ecc71;
    border-radius: 50%;
    display: inline-block;
}

.messages-container {
    height: 400px;
    overflow-y: auto;
    padding: 1.5rem;
    background: #f8f9fa;
}

.message {
    display: flex;
    margin-bottom: 1rem;
}

.message.user-message {
    justify-content: flex-end;
}

.message-bubble {
    max-width: 70%;
    padding: 1rem;
    border-radius: 15px;
    position: relative;
}

.user-message .message-bubble {
    background: #0066ff;
    color: white;
    border-bottom-right-radius: 5px;
}

.bot-message .message-bubble {
    background: white;
    color: #2c3e50;
    border-bottom-left-radius: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.modal-footer {
    background: white;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1rem;
}

.input-group {
    background: #f8f9fa;
    border-radius: 25px;
    padding: 0.5rem;
}

.input-group input {
    border: none;
    background: transparent;
    padding: 0.5rem 1rem;
}

.input-group input:focus {
    box-shadow: none;
    border: none;
    outline: none;
}

.input-group button {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Chatbot Toggle Button */
/* Removing commented out styles */

/* Responsive Design */
@media (max-width: 768px) {
    .modal-dialog {
        margin: 1rem;
        max-width: calc(100% - 2rem);
    }
    
    .messages-container {
        height: 60vh;
    }
    
    .chatbot-toggle-btn {
        bottom: 20px;
        right: 20px;
        padding: 0.8rem 1.2rem;
    }
    
    .chatbot-toggle-btn .ai-icon-wrapper {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
}

/* Services Section */
.services-section {
    background: linear-gradient(135deg, #001a33, #004080);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 102, 255, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h6 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-header h2 {
    color: #ffffff;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
}

.section-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0066ff, #ff6b00);
    margin: 20px auto;
    border-radius: 2px;
}

.section-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .services-section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }
}

/* Keep existing chatbot styles */
.chatbot-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}