/* ============================================
   MODERN ENHANCEMENTS FOR ABITONS WEBSITE
   ============================================ */

/* ===== GLASSMORPHISM EFFECTS ===== */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.15);
}

/* ===== MODERN BUTTON STYLES ===== */
.btn-modern {
    position: relative;
    display: inline-block;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    background: linear-gradient(135deg, #f27420 0%, #ff8b23 100%);
    border: none;
    border-radius: 50px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(242, 116, 32, 0.4);
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-modern:hover::before {
    left: 100%;
}

.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 116, 32, 0.6);
}

.btn-modern:active {
    transform: translateY(0);
}

.btn-modern-outline {
    background: transparent;
    border: 2px solid #f27420;
    color: #f27420;
    box-shadow: none;
}

.btn-modern-outline:hover {
    background: #f27420;
    color: #fff;
}

/* ===== GRADIENT BACKGROUNDS ===== */
.gradient-bg-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-bg-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.gradient-bg-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.gradient-bg-4 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.gradient-bg-orange {
    background: linear-gradient(135deg, #f27420 0%, #ff8b23 50%, #ffa64d 100%);
}

/* ===== SMOOTH SCROLL ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-on-scroll {
    opacity: 0;
    transition: all 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.fade-in-down {
    animation: fadeInDown 0.8s ease-out;
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease-out;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease-out;
}

.scale-in {
    animation: scaleIn 0.6s ease-out;
}

/* ===== MODERN CARD DESIGNS ===== */
.modern-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}

.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #f27420, #ff8b23);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.modern-card:hover::before {
    transform: scaleX(1);
}

.modern-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.modern-card-img {
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
}

.modern-card-img img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.modern-card:hover .modern-card-img img {
    transform: scale(1.1);
}

/* ===== FLOATING LABELS FOR FORMS ===== */
.form-group-modern {
    position: relative;
    margin-bottom: 25px;
}

.form-group-modern input,
.form-group-modern textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fff;
}

.form-group-modern input:focus,
.form-group-modern textarea:focus {
    outline: none;
    border-color: #f27420;
    box-shadow: 0 0 0 3px rgba(242, 116, 32, 0.1);
}

.form-group-modern label {
    position: absolute;
    left: 20px;
    top: 15px;
    color: #999;
    font-size: 16px;
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-group-modern input:focus + label,
.form-group-modern input:not(:placeholder-shown) + label,
.form-group-modern textarea:focus + label,
.form-group-modern textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 15px;
    font-size: 12px;
    color: #f27420;
    background: #fff;
    padding: 0 5px;
}

/* ===== MODERN NAVIGATION ===== */
.header-modern {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header-modern.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

/* ===== SMOOTH SCROLL ===== */
html {
    scroll-behavior: smooth;
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f27420, #ff8b23);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(242, 116, 32, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(242, 116, 32, 0.6);
}

/* ===== LOADING SKELETON ===== */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* ===== MODERN TESTIMONIALS ===== */
.testimonial-modern {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-modern::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 30px;
    font-size: 100px;
    color: #f27420;
    opacity: 0.2;
    font-family: Georgia, serif;
}

.testimonial-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* ===== PROJECT CARD ENHANCEMENTS ===== */
.project-card-modern {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card-modern::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(242, 116, 32, 0.9), rgba(255, 139, 35, 0.9));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card-modern:hover::after {
    opacity: 1;
}

.project-card-modern:hover {
    transform: scale(1.05);
}

.project-card-modern .project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    z-index: 2;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.project-card-modern:hover .project-info {
    transform: translateY(0);
    opacity: 1;
}

/* ===== PARALLAX EFFECT ===== */
.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* ===== MODERN COUNTER ===== */
.counter-modern {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, #f27420, #ff8b23);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== TOAST NOTIFICATION ===== */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transform: translateX(400px);
    transition: transform 0.3s ease;
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    border-left: 4px solid #4caf50;
}

.toast.error {
    border-left: 4px solid #f44336;
}

/* ===== RESPONSIVE IMPROVEMENTS ===== */
@media (max-width: 768px) {
    .modern-card {
        padding: 20px;
    }
    
    .btn-modern {
        padding: 14px 30px;
        font-size: 14px;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #f27420, #ff8b23);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ff8b23, #f27420);
}

/* ===== PULSE ANIMATION ===== */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* ===== SHIMMER EFFECT ===== */
.shimmer {
    background: linear-gradient(90deg, #f0f0f0 0%, #e0e0e0 50%, #f0f0f0 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* ===== MODERN SERVICE CARD ===== */
.service-card-modern {
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-icon-modern {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #f27420, #ff8b23);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #fff;
    transition: all 0.4s ease;
}

.service-card-modern:hover .service-icon-modern {
    transform: rotateY(360deg) scale(1.1);
}

.service-card-modern::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(242, 116, 32, 0.1) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease;
}

.service-card-modern:hover::before {
    transform: scale(1);
}

.service-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon-modern {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #f27420, #ff8b23);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #fff;
    transition: all 0.4s ease;
}

.service-card-modern:hover .service-icon-modern {
    transform: rotateY(360deg) scale(1.1);
}


/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    left: 30px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    text-decoration: none;
    color: #fff;
}

.whatsapp-float i {
    color: #fff;
    font-size: 32px;
}

/* Pulsing animation for WhatsApp button */
@keyframes pulse-whatsapp {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        transform: scale(1.15);
        box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* WhatsApp button tooltip */
.whatsapp-float::before {
    content: 'Chat with us on WhatsApp';
    position: absolute;
    left: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.whatsapp-float:hover::before {
    opacity: 1;
}

/* Get Quotation Button */
.btn-quotation {
    background: linear-gradient(135deg, #25d366 0%, #20ba5a 100%);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    text-decoration: none;
    margin-top: 10px;
}

.btn-quotation:hover {
    background: linear-gradient(135deg, #20ba5a 0%, #1ea84d 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    color: #fff;
    text-decoration: none;
}

.btn-quotation i {
    font-size: 16px;
}

/* Responsive WhatsApp button */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        left: 20px;
        font-size: 28px;
    }
    
    .whatsapp-float i {
        font-size: 28px;
    }
    
    .whatsapp-float::before {
        display: none;
    }
}

/* ===== PROCESS STEPS ===== */
.step-circle {
    display: inline-block;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f27420 0%, #ff8b23 100%);
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(242, 116, 32, 0.3);
}

.process-step:hover .step-circle {
    transform: scale(1.1) rotate(360deg);
    transition: all 0.5s ease;
}

/* ===== FAQ ACCORDION ===== */
.faq-question {
    cursor: pointer;
    padding: 20px;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(242, 116, 32, 0.05);
}

.faq-question h4 {
    margin: 0;
    font-size: 18px;
    color: #2a2a2a;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 20px;
}

.faq-answer.active {
    max-height: 500px;
    padding: 20px;
}

.faq-answer p {
    margin: 0;
    color: #666;
    line-height: 1.8;
}

/* ===== WHY CHOOSE US CARDS ===== */
.why-choose-card {
    transition: all 0.3s ease;
    height: 100%;
}

.why-choose-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.why-choose-card .icon-wrapper {
    transition: all 0.3s ease;
}

.why-choose-card:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

/* ===== TRUST BADGES ===== */
.trust-badge-item {
    padding: 20px;
    transition: all 0.3s ease;
}

.trust-badge-item:hover {
    transform: translateY(-5px);
}

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

.trust-badge-item:hover i {
    transform: scale(1.2) rotate(10deg);
}

/* ===== CTA SECTION ===== */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(242, 116, 32, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

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