/* Custom Light Tech Theme based on index.html */
:root {
    --cyan: #00d4ff;
    --teal: #00ffc8;
    --deep-cyan: #0099cc;
    --white: #ffffff;
    --off-white: #f8fafb;
    --text-dark: #0a1628;
    --text-gray: #4a5568;
    --shadow-cyan: rgba(0, 212, 255, 0.3);
    --shadow-teal: rgba(0, 255, 200, 0.3);
}

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

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--white);
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Typography Overrides for General Pages */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Orbitron', sans-serif;
    color: var(--text-dark);
}

/* Animated Background Grid */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(40px, 40px); }
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    z-index: 1000;
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--cyan) 0%, var(--teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--teal));
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--cyan);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Navbar Toggler */
.navbar-toggler {
    color: var(--text-dark);
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
    color: var(--cyan);
}

/* Page Header for Inner Pages */
.page-header {
    position: relative;
    padding: 10rem 0 4rem; /* Increased top padding to avoid header overlap */
    background: radial-gradient(circle at center, rgba(0, 212, 255, 0.1) 0%, rgba(0, 255, 200, 0.05) 50%, transparent 80%);
    text-align: center;
    overflow: hidden;
}

.page-header h1 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    position: relative;
    z-index: 10;
}

/* General Card Styling (for List/Detail pages) */
.card {
    background: white;
    border-radius: 24px;
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.card-header {
    background-color: transparent;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    padding: 1.5rem;
}

.card-body {
    padding: 1.5rem;
}

/* Sidebar Nav Styling */
.nav-vertical .nav-link {
    color: var(--text-gray);
    border-radius: 10px;
    transition: all 0.3s ease;
    display: flex; /* Ensure flex behavior for alignment */
    align-items: center; /* Vertical alignment */
    padding: 0.8rem 1.2rem; /* Consistent padding */
}

.nav-vertical .nav-link:hover {
    color: var(--cyan);
    background-color: rgba(0, 212, 255, 0.05);
    padding-left: 1.5rem; /* Slight shift effect on hover */
}

.nav-vertical .nav-link.active {
    color: var(--deep-cyan);
    background-color: rgba(0, 212, 255, 0.1);
    font-weight: 600;
    border-left: 3px solid var(--cyan);
    padding-left: 1.5rem; /* Match hover shift */
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 6rem 2rem 4rem;
}

.hero-gradient {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    height: 1200px;
    background: radial-gradient(circle at center, 
        rgba(0, 212, 255, 0.15) 0%, 
        rgba(0, 255, 200, 0.1) 35%, 
        transparent 70%);
    animation: pulse 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.6; }
    50% { transform: translateX(-50%) scale(1.1); opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    text-align: center;
    animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--deep-cyan) 0%, var(--cyan) 50%, var(--teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--text-gray);
    margin-bottom: 3rem;
    font-weight: 400;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.7s both;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--cyan) 0%, var(--teal) 100%);
    color: white;
    box-shadow: 0 10px 30px var(--shadow-cyan);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px var(--shadow-cyan);
    color: white;
}

.btn-secondary {
    background: white;
    color: var(--cyan);
    border: 2px solid var(--cyan);
}

.btn-secondary:hover {
    background: var(--cyan);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--shadow-cyan);
}

/* Floating Elements */
.floating-element {
    position: absolute;
    animation: float 6s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.floating-element:nth-child(1) {
    top: 50%;
    left: 10%;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--cyan), transparent);
    border-radius: 20px;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    bottom: 20%;
    right: 10%;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, transparent, var(--teal));
    border-radius: 50%;
    animation-delay: 2s;
}

/* Features Section */
.features {
    position: relative;
    padding: 8rem 2rem;
    background: var(--off-white);
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--deep-cyan) 0%, var(--teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 1.2rem;
    margin-bottom: 5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--cyan), var(--teal));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.15);
    border-color: var(--cyan);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--cyan), var(--teal));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { box-shadow: 0 0 0 0 var(--shadow-cyan); }
    50% { box-shadow: 0 0 0 15px rgba(0, 212, 255, 0); }
}

.feature-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* Stats Section */
.stats {
    position: relative;
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--cyan) 0%, var(--deep-cyan) 50%, var(--teal) 100%);
    color: white;
    overflow: hidden;
}

.stats::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.05'%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.3;
}

.stats-grid {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
    text-align: center;
}

.stat-item {
    animation: fadeInUp 1s ease-out both;
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }

.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 300;
}

/* CTA Section */
.cta-section {
    padding: 8rem 2rem;
    text-align: center;
    position: relative;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--deep-cyan) 0%, var(--teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Footer Light Tech Theme */
.footer-light-tech {
    background: var(--off-white);
    color: var(--text-dark);
    padding: 4rem 2rem 2rem;
    position: relative;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.footer-light-tech .navbar-brand-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--cyan) 0%, var(--teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-light-tech h5 {
    font-family: 'Orbitron', sans-serif;
    color: var(--text-dark);
    font-weight: 600;
}

.footer-light-tech .link-secondary {
    color: var(--text-gray);
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer-light-tech .link-secondary:hover {
    color: var(--cyan);
}

.footer-light-tech .text-muted {
    color: rgba(10, 22, 40, 0.6) !important;
}

.border-color-opacity {
    border-color: rgba(0, 212, 255, 0.1) !important;
}

/* Language Button in Footer */
.btn-ghost-secondary {
    background: rgba(0, 212, 255, 0.05);
    color: var(--text-dark);
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: all 0.3s ease;
}

.btn-ghost-secondary:hover, .btn-ghost-secondary:focus {
    background: var(--cyan);
    color: white;
    border-color: var(--cyan);
    box-shadow: 0 4px 12px var(--shadow-cyan);
}

/* Separator */
.list-separator-secondary .list-inline-item:not(:last-child)::after {
    color: rgba(0, 212, 255, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar Overrides for Main Layout */
.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:active {
    color: var(--cyan) !important;
    background: linear-gradient(135deg, var(--cyan) 0%, var(--teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Removed underline effect as per user request */
.navbar-nav .nav-link:hover {
    color: var(--cyan) !important;
    background: linear-gradient(135deg, var(--cyan) 0%, var(--teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 0;
}

/* Dropdown Menu Styling */
.dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 0.5rem;
    margin-top: 1rem;
}

.dropdown-item {
    border-radius: 8px;
    padding: 0.7rem 1.2rem;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
}

.dropdown-item:hover, .dropdown-item:focus, .dropdown-item.active {
    background: rgba(0, 212, 255, 0.08);
    color: var(--cyan);
    padding-left: 1.5rem;
    background-color: rgba(0, 212, 255, 0.08); /* Bootstrap override */
}

/* Footer Dark Tech Theme (matching index.html) */
.footer-dark-tech {
    background: var(--text-dark);
    color: white;
    padding: 5rem 2rem 2rem;
    font-size: 0.95rem;
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
}

 

.footer-dark-tech h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--cyan), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.footer-dark-tech ul {
    list-style: none;
    padding-left: 0;
}

.footer-dark-tech ul li {
    margin-bottom: 0.8rem;
}

.footer-dark-tech a {
     
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-dark-tech a:hover {
    color: var(--cyan) !important;
}

.footer-dark-tech .footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

.footer-dark-tech .text-muted {
    color: rgba(255, 255, 255, 0.5) !important;
}
.nav-vertical.nav-tabs .nav-item.show .nav-link, .nav-vertical.nav-tabs .nav-link.active {
 border-color: #00d4ff;
}

#whatsapp-widget .btn{
    padding: 2.5rem;
}
#whatsapp-content .btn{
    padding: 1.5rem 2.5rem;
}