* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
}

.gradient-text {
    background: linear-gradient(90deg, #f47828, #46156e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.purple-gradient-dark {
    background: linear-gradient(135deg, #46156e, #2a1c35);
}

.purple-gradient-light {
    background: linear-gradient(135deg, #46156e, #8c7aa9);
}

.glow-border-dark {
    position: relative;
    border-radius: 0.5rem;
    background: #1a1225;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(244, 120, 40, 0.15);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.glow-border-dark::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 2px;
    background: linear-gradient(45deg, #46156e, #f47828);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.5;
}

.glow-border-light {
    position: relative;
    border-radius: 5px;
    /* background: #ffffff; */
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.glow-border-light::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 2px;
    background: linear-gradient(45deg, #46156e, #f47828);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.5;
}

.glow-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f47828;
    background: rgba(244, 120, 40, 0.1);
    box-shadow: 0 0 10px rgba(244, 120, 40, 0.3);
}

.glow-button:hover {
    box-shadow: 0 0 20px rgba(244, 120, 40, 0.5);
    transform: translateY(-2px);
}

.glow-button::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(244, 120, 40, 0.2), transparent);
    transform: rotate(45deg);
    transition: all 0.5s ease;
}

.glow-button:hover::after {
    left: 100%;
}

.bg-pattern-dark {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(70, 21, 110, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(244, 120, 40, 0.15) 0%, transparent 50%);
    z-index: -2;
    transition: opacity 0.3s ease;
}

.bg-pattern-light {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(70, 21, 110, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(244, 120, 40, 0.05) 0%, transparent 50%);
    z-index: -2;
    transition: opacity 0.3s ease;
}

.bg-grid-dark {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, rgba(70, 21, 110, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(70, 21, 110, 0.1) 1px, transparent 1px);
    z-index: -1;
    transition: opacity 0.3s ease;
}

.bg-grid-light {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, rgba(70, 21, 110, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(70, 21, 110, 0.05) 1px, transparent 1px);
    z-index: -1;
    transition: opacity 0.3s ease;
}

.india-map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 500' width='500' height='500'%3E%3Cpath d='M250,100 C270,130 300,150 330,160 C360,170 380,200 390,230 C400,260 420,280 400,310 C380,340 370,370 340,380 C310,390 290,410 260,400 C230,390 200,380 180,350 C160,320 130,310 120,280 C110,250 100,220 120,190 C140,160 160,140 190,130 C220,120 230,70 250,100 Z' fill='none' stroke='%23f47828' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    z-index: -1;
}

.data-point {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #f47828;
    border-radius: 50%;
    box-shadow: 0 0 10px #f47828;
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

.hover-card {
    transition: all 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-5px);
}

.hexagon {
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.carousel {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    flex: 0 0 100%;
}

.progress-bar {
    height: 2px;
    background: linear-gradient(to right, #46156e, #f47828);
    width: 0;
    transition: width 0.3s ease;
}

.nav-indicator {
    position: absolute;
    bottom: -2px;
    height: 2px;
    background: #f47828;
    transition: all 0.3s ease;
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.scroll-indicator {
    animation: scroll-down 2s infinite;
}

@keyframes scroll-down {
    0% { transform: translateY(0); opacity: 0.8; }
    50% { transform: translateY(10px); opacity: 0.4; }
    100% { transform: translateY(0); opacity: 0.8; }
}

.orange-dot {
    position: relative;
}

.orange-dot::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #f47828;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 10px rgba(244, 120, 40, 0.5);
    animation: pulse 2s infinite;
}

.radar-sweep {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    clip-path: polygon(50% 50%, 50% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 0%, 50% 0%);
    background: radial-gradient(circle, rgba(244, 120, 40, 0.2) 0%, rgba(244, 120, 40, 0) 70%);
    transform-origin: center;
    animation: sweep 4s linear infinite;
}

@keyframes sweep {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.data-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(to right, rgba(244, 120, 40, 0.7), rgba(244, 120, 40, 0));
    transform-origin: left center;
}

.glass-effect-dark {
    background: rgba(15, 10, 26, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(70, 21, 110, 0.3);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.glass-effect-light {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(70, 21, 110, 0.1);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.stat-card {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: background-color 0.3s ease;
}

.stat-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(244, 120, 40, 0.05) 0%, rgba(244, 120, 40, 0) 70%);
    z-index: -1;
}

.feature-icon {
    position: relative;
}

.feature-icon::before {
    content: "";
    position: absolute;
    inset: -5px;
    background: linear-gradient(45deg, #f47828, #46156e);
    border-radius: 50%;
    opacity: 0.2;
    filter: blur(5px);
}

.form-input-dark {
    background-color: rgba(26, 18, 37, 0.5);
    border: 1px solid rgba(70, 21, 110, 0.5);
    color: #f8f8ff;
    transition: all 0.3s ease;
}

.form-input-dark:focus {
    border-color: #f47828;
    box-shadow: 0 0 0 2px rgba(244, 120, 40, 0.2);
    outline: none;
}

.form-input-dark::placeholder {
    color: rgba(248, 248, 255, 0.5);
}

.form-input-light {
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(70, 21, 110, 0.2);
    color: #333;
    transition: all 0.3s ease;
}

.form-input-light:focus {
    border-color: #f47828;
    box-shadow: 0 0 0 2px rgba(244, 120, 40, 0.1);
    outline: none;
}

.form-input-light::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

/* Theme toggle */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(70, 21, 110, 0.3);
    transition: .4s;
    border-radius: 34px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: #f47828;
}

input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

/* Theme icons */
.theme-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    transition: opacity 0.3s ease;
}

.sun-icon {
    left: 6px;
    opacity: 0;
}

.moon-icon {
    right: 6px;
    opacity: 1;
}

input:checked + .toggle-slider .sun-icon {
    opacity: 1;
}

input:checked + .toggle-slider .moon-icon {
    opacity: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .mobile-stack {
        flex-direction: column;
    }
    
    .mobile-full {
        width: 100%;
    }
    
    .mobile-hidden {
        display: none;
    }
}

/* Transition all elements that change with theme */
.transition-theme {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.rounded-lg{
    border-radius: 5px !important;
}