/* ===== FONT & BASIC RESET ===== */
* {
    font-family: 'Hind Siliguri', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    background: #f8fafc;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== SMOOTH SCROLLING ===== */
html {
    scroll-behavior: smooth;
}

/* ===== COLOR VARIABLES ===== */
.bg-primary {
    background-color: #0a5c36;
}

.bg-secondary {
    background-color: #064e3b;
}

.text-primary {
    color: #0a5c36;
}

.text-secondary {
    color: #064e3b;
}

.border-primary {
    border-color: #0a5c36;
}

.border-secondary {
    border-color: #064e3b;
}

/* ===== GLASS EFFECT - ENHANCED ===== */
.glass-effect {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ===== MODERN CARD STYLES ===== */
.card-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.card-hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    border-radius: inherit;
}

.card-hover:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.card-hover:hover::before {
    opacity: 1;
}

.card-hover:active {
    transform: translateY(-8px) scale(1.01);
}

/* ===== BUTTON STYLES - APP LIKE ===== */
.btn-primary {
    background: linear-gradient(135deg, #0a5c36 0%, #064e3b 100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:active::before {
    width: 400px;
    height: 400px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #064e3b 0%, #0a5c36 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(10, 92, 54, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px);
}

/* ===== HERO SECTION - MODERN ===== */
.hero-section {
    background: linear-gradient(135deg, rgba(10, 92, 54, 0.96), rgba(6, 78, 59, 0.96)), 
                url('https://images.unsplash.com/photo-1588072432836-e10032774350?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
    animation: rotate 40s linear infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(248, 250, 252, 1), transparent);
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== FLOATING ANIMATION ===== */
.floating-animation {
    animation: floating 3.5s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-18px); }
}

/* ===== PULSE ANIMATION ===== */
.pulse-animation {
    animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ===== FADE IN ANIMATION ===== */
.fade-in {
    animation: fadeIn 1.2s ease-out;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(40px);
    }
    to { 
        opacity: 1; 
        transform: translateY(0);
    }
}

/* ===== SCROLLBAR STYLING ===== */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #0a5c36 0%, #064e3b 100%);
    border-radius: 10px;
    border: 2px solid #f1f5f9;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #064e3b 0%, #0a5c36 100%);
}

/* ===== BACK TO TOP BUTTON - MODERN ===== */
#backToTop {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #0a5c36 0%, #064e3b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(10, 92, 54, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid rgba(255, 255, 255, 0.9);
}

#backToTop:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 15px 40px rgba(10, 92, 54, 0.5);
}

#backToTop:active {
    transform: translateY(-6px) scale(1.05);
}

/* ===== MOBILE MENU BUTTON - APP STYLE ===== */
.mobile-menu-btn {
    display: none;
    position: absolute;
    right: 3px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: rgb(216, 0, 0);
    padding: 8px 12px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 22px;
    z-index: 100;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-50%) scale(1.08);
}

.mobile-menu-btn:active {
    transform: translateY(-50%) scale(1.02);
}

/* ===== MOBILE MENU OVERLAY ===== */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mobile-nav-overlay.active {
    display: block;
    opacity: 1;
}

/* ===== MOBILE MENU CONTAINER - APP DRAWER STYLE ===== */
.mobile-nav-container {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 350px;
    height: 100%;
    background: linear-gradient(135deg, #0a5c36 0%, #064e3b 100%);
    z-index: 9999;
    overflow-y: auto;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.5);
}

.mobile-nav-container.active {
    left: 0;
}

/* ===== MOBILE MENU HEADER - APP STYLE ===== */
.mobile-nav-header {
    padding: 24px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.2);
    position: relative;
}

.mobile-nav-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.mobile-nav-brand img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.mobile-nav-brand span {
    color: white;
    font-weight: 700;
    font-size: 17px;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.mobile-nav-close {
    position: absolute;
    top: 24px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 22px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.mobile-nav-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg) scale(1.1);
}

.mobile-nav-close:active {
    transform: rotate(90deg) scale(1.05);
}

/* ===== MOBILE MENU LINKS - APP STYLE ===== */
.mobile-nav-links {
    padding: 20px;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    color: white;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mobile-nav-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.mobile-nav-item:active {
    transform: translateX(8px) scale(0.98);
}

.mobile-nav-item i {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(251, 191, 36, 0.2);
    border-radius: 8px;
    color: #fbbf24;
    font-size: 16px;
}

.mobile-nav-item span {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

/* ===== MOBILE MENU FOOTER ===== */
.mobile-nav-footer {
    padding: 24px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: auto;
    background: rgba(0, 0, 0, 0.15);
}

.mobile-nav-contact {
    color: white;
    font-size: 14px;
    opacity: 0.85;
    text-align: center;
    line-height: 1.6;
}

.mobile-nav-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
}

.mobile-nav-social a {
    width: 46px;
    height: 46px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    font-size: 18px;
}

.mobile-nav-social a:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-6px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.mobile-nav-social a:active {
    transform: translateY(-4px) scale(1.05);
}

/* ===== RESPONSIVE - MOBILE FIRST ===== */
@media (max-width: 768px) {
    .flex.flex-wrap.justify-center.gap-2 {
        display: none !important;
    }
    
   
    .bg-primary.py-3.px-4 .flex {
        position: relative;
    }
    
    body.menu-open {
        overflow: hidden;
    }
    
   
    .card-hover:hover {
        transform: translateY(-6px) scale(1.01);
    }
}
