/* Tirupati Enterprises - Subtle 3D Effects (No Glow) */
:root {
    /* Brand Colors */
    --brand-lime: #d3df37;
    --brand-lime-light: #e0ec5a;
    --brand-lime-dark: #c0cc28;
    --brand-lime-darker: #9da01f;
    
    /* Dark Theme Colors */
    --brand-black: #000000;
    --brand-dark: #1A1A1A;
    --brand-darker: #000000;
    --brand-gray: #2A2A2A;
    --brand-gray-light: #3A3A3A;
    
    /* Text Colors */
    --brand-text: #E8E8E8;
    --brand-text-muted: #A0A0A0;
    --brand-text-light: #F5F5F5;
    
    /* 3D Effects */
    --shadow-3d-light: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-3d-medium: 0 4px 15px rgba(0, 0, 0, 0.2);
    --shadow-3d-heavy: 0 8px 25px rgba(0, 0, 0, 0.25);
    --shadow-3d-hover: 0 6px 20px rgba(0, 0, 0, 0.3);
    
    /* Glass Effects (Subtle) */
    --glass-subtle: rgba(211, 223, 55, 0.05);
    --glass-border: rgba(211, 223, 55, 0.15);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--brand-lime) 0%, var(--brand-lime-dark) 100%);
    --gradient-bg: linear-gradient(135deg, var(--brand-darker) 0%, var(--brand-dark) 50%, var(--brand-black) 100%);
}

/* Global Styles */
body {
    background: var(--gradient-bg) !important;
    color: var(--brand-text) !important;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif !important;
}

/* Remove all glow effects and replace with 3D */
* {
    box-shadow: none !important;
}

/* Buttons - Subtle 3D */
.btn-3d {
    background: var(--gradient-primary);
    border: none;
    color: var(--brand-black);
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.2s ease;
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    position: relative;
}

.btn-3d:hover {
    transform: translateY(-1px);
    box-shadow: 
        0 6px 12px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    color: var(--brand-black);
}

.btn-3d:active {
    transform: translateY(0);
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

/* Cards - Subtle 3D */
.card-3d {
    background: rgba(26, 26, 26, 0.9);
    border: 1px solid rgba(211, 223, 55, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.card-3d:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Form Controls - Subtle 3D */
.form-control-3d {
    background: rgba(26, 26, 26, 0.8);
    border: 2px solid rgba(211, 223, 55, 0.2);
    border-radius: 12px;
    color: var(--brand-text);
    transition: all 0.3s ease;
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.1),
        0 1px 2px rgba(0, 0, 0, 0.05);
}

.form-control-3d:focus {
    outline: none;
    border-color: var(--brand-lime);
    background: rgba(211, 223, 55, 0.05);
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.1),
        0 0 0 3px rgba(211, 223, 55, 0.1);
    color: var(--brand-text);
}

/* Navigation - Subtle 3D */
.navbar-3d {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(211, 223, 55, 0.1);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.nav-link-3d {
    color: var(--brand-text) !important;
    font-weight: 500;
    margin: 0 15px;
    position: relative;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
}

.nav-link-3d::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--brand-lime);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link-3d:hover {
    color: var(--brand-lime) !important;
    background: rgba(211, 223, 55, 0.05);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav-link-3d:hover::after {
    width: 80%;
}

/* Icon Boxes - Subtle 3D */
.icon-box-3d {
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.icon-box-3d:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 18px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.15);
}

.icon-box-3d i {
    color: var(--brand-black);
    transition: transform 0.3s ease;
}

.icon-box-3d:hover i {
    transform: scale(1.1);
}

/* Service Cards - Subtle 3D */
.service-card-3d {
    background: rgba(26, 26, 26, 0.9);
    border: 1px solid rgba(211, 223, 55, 0.1);
    border-radius: 20px;
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.service-card-3d:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 12px 30px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    border-color: rgba(211, 223, 55, 0.2);
}

.service-card-3d .service-image {
    transition: transform 0.4s ease;
}

.service-card-3d:hover .service-image {
    transform: scale(1.05);
}

/* Portfolio Cards - Subtle 3D */
.portfolio-card-3d {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.portfolio-card-3d:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.portfolio-overlay-3d {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8), rgba(211, 223, 55, 0.1));
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.portfolio-card-3d:hover .portfolio-overlay-3d {
    opacity: 1;
}

/* Testimonial Cards - Subtle 3D */
.testimonial-card-3d {
    background: rgba(26, 26, 26, 0.9);
    border: 1px solid rgba(211, 223, 55, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.testimonial-card-3d:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Blog Cards - Subtle 3D */
.blog-card-3d {
    background: rgba(26, 26, 26, 0.9);
    border: 1px solid rgba(211, 223, 55, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.blog-card-3d:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 12px 30px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.blog-card-3d .blog-image {
    transition: transform 0.4s ease;
}

.blog-card-3d:hover .blog-image {
    transform: scale(1.05);
}

/* Contact Cards - Subtle 3D */
.contact-card-3d {
    background: rgba(26, 26, 26, 0.9);
    border: 1px solid rgba(211, 223, 55, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.contact-card-3d:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.contact-icon-3d {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.contact-card-3d:hover .contact-icon-3d {
    transform: scale(1.1);
    box-shadow: 
        0 6px 18px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Process Steps - Subtle 3D */
.process-step-3d {
    background: rgba(26, 26, 26, 0.9);
    border: 1px solid rgba(211, 223, 55, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.process-step-3d:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.process-number-3d {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: bold;
    color: var(--brand-black);
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.process-step-3d:hover .process-number-3d {
    transform: scale(1.2);
    box-shadow: 
        0 6px 18px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Floating Buttons - Subtle 3D */
.floating-btn-3d {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.floating-btn-3d:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: white;
}

.phone-btn-3d {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.whatsapp-btn-3d {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

/* Modal - Subtle 3D */
.modal-3d .modal-content {
    background: rgba(26, 26, 26, 0.95);
    border: 1px solid rgba(211, 223, 55, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Tables - Subtle 3D */
.table-3d {
    background: rgba(26, 26, 26, 0.9);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.table-3d th {
    background: rgba(42, 42, 42, 0.9);
    border-color: rgba(211, 223, 55, 0.2);
    color: var(--brand-lime);
    box-shadow: inset 0 -1px 0 rgba(211, 223, 55, 0.1);
}

.table-3d td {
    border-color: rgba(211, 223, 55, 0.1);
    color: var(--brand-text);
}

/* Alerts - Subtle 3D */
.alert-3d {
    border-radius: 12px;
    border: none;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.alert-success-3d {
    background: rgba(211, 223, 55, 0.1);
    color: var(--brand-lime);
    border-left: 4px solid var(--brand-lime);
}

.alert-danger-3d {
    background: rgba(220, 53, 69, 0.1);
    color: #ff6b7a;
    border-left: 4px solid #dc3545;
}

/* Badges - Subtle 3D */
.badge-3d {
    background: var(--gradient-primary);
    color: var(--brand-black);
    font-weight: 600;
    border-radius: 8px;
    padding: 6px 12px;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Pagination - Subtle 3D */
.pagination-3d .page-link {
    background: rgba(26, 26, 26, 0.9);
    border: 1px solid rgba(211, 223, 55, 0.2);
    color: var(--brand-text);
    border-radius: 8px;
    margin: 0 2px;
    transition: all 0.3s ease;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.pagination-3d .page-link:hover {
    background: var(--brand-lime);
    color: var(--brand-black);
    transform: translateY(-1px);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.pagination-3d .page-item.active .page-link {
    background: var(--brand-lime);
    border-color: var(--brand-lime);
    color: var(--brand-black);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Dropdown - Subtle 3D */
.dropdown-menu-3d {
    background: rgba(26, 26, 26, 0.95);
    border: 1px solid rgba(211, 223, 55, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(20px);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.dropdown-item-3d {
    color: var(--brand-text);
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 2px 8px;
}

.dropdown-item-3d:hover {
    background: rgba(211, 223, 55, 0.1);
    color: var(--brand-lime);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Scrollbar - Subtle 3D */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--brand-dark);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--brand-lime);
    border-radius: 4px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brand-lime-light);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Loading Spinner - Subtle 3D */
.loading-3d {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(211, 223, 55, 0.3);
    border-radius: 50%;
    border-top-color: var(--brand-lime);
    animation: spin 1s ease-in-out infinite;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .card-3d {
        border-radius: 12px;
    }
    
    .btn-3d {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .icon-box-3d {
        width: 50px;
        height: 50px;
    }
    
    .contact-icon-3d {
        width: 50px;
        height: 50px;
    }
    
    .process-number-3d {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

/* Override any existing glow effects */
.btn-brand,
.btn-luxury,
.btn-gold,
.card-brand,
.card-luxury,
.form-control-brand,
.navbar-luxury,
.floating-btn,
.social-icon,
.badge-brand,
.alert-success,
.alert-danger,
.modal-content,
.dropdown-menu,
.page-link {
    box-shadow: none !important;
}

/* Apply 3D effects to existing classes */
.btn-brand,
.btn-luxury,
.btn-gold {
    @extend .btn-3d;
}

.card-brand,
.card-luxury {
    @extend .card-3d;
}

.form-control-brand {
    @extend .form-control-3d;
}

.navbar-luxury {
    @extend .navbar-3d;
}

.floating-btn {
    @extend .floating-btn-3d;
}

.badge-brand {
    @extend .badge-3d;
}

/* Ensure all elements use subtle 3D instead of glow */
.btn-brand,
.btn-luxury,
.btn-gold {
    background: var(--gradient-primary) !important;
    border: none !important;
    color: var(--brand-black) !important;
    font-weight: 600 !important;
    border-radius: 12px !important;
    transition: all 0.2s ease !important;
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.15) !important,
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important,
        inset 0 -1px 0 rgba(0, 0, 0, 0.1) !important;
}

.btn-brand:hover,
.btn-luxury:hover,
.btn-gold:hover {
    transform: translateY(-1px) !important;
    box-shadow: 
        0 6px 12px rgba(0, 0, 0, 0.2) !important,
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important,
        inset 0 -1px 0 rgba(0, 0, 0, 0.15) !important;
    color: var(--brand-black) !important;
}

.card-brand,
.card-luxury {
    background: rgba(26, 26, 26, 0.9) !important;
    border: 1px solid rgba(211, 223, 55, 0.1) !important;
    border-radius: 16px !important;
    transition: all 0.3s ease !important;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.1) !important,
        inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

.card-brand:hover,
.card-luxury:hover {
    transform: translateY(-3px) !important;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.15) !important,
        inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}