* {
    font-family: 'Poppins', sans-serif;
}

.gradient-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 50%, #10b981 100%);
}

.gradient-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

.gradient-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
}

.card-3d {
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.card-3d:hover {
    transform: rotateY(15deg) rotateX(10deg) scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.flip-card {
    background-color: transparent;
    perspective: 1000px;
    height: 400px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.flip-card-back {
    transform: rotateY(180deg);
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 24px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    animation: pulse 2s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.hero-text {
    animation: heroSlideIn 1.5s ease-out;
}

@keyframes heroSlideIn {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.service-icon {
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.service-icon:hover {
    transform: scale(1.2) rotate(10deg);
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    transform: scale(0.7);
    opacity: 0;
    transition: all 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1);
    opacity: 1;
}

.navbar-sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.btn-hover {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-hover:hover::before {
    left: 100%;
}

.coming-soon {
    animation: comingSoonPulse 2s ease-in-out infinite;
}

@keyframes comingSoonPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.gallery-filter-btn {
    color: #6b7280;
    background: transparent;
}

.gallery-filter-btn.active {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
}

.gallery-filter-btn:hover {
    background: #f3f4f6;
    color: #374151;
}

.gallery-filter-btn.active:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.gallery-item {
    transition: all 0.5s ease;
}

.gallery-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.image-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.image-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-modal-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 20px;
    overflow: hidden;
    transform: scale(0.7);
    opacity: 0;
    transition: all 0.3s ease;
}

.image-modal.active .image-modal-content {
    transform: scale(1);
    opacity: 1;
}

@media (max-width: 768px) {
    .flip-card {
        height: 350px;
    }

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

    .gallery-filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}



/* Modal ke andar image ka container fix karein */
#modalImageContent {
  display: flex;
  justify-content: center; /* horizontally center */
  align-items: center;     /* vertically center */
  height: 80vh;            /* modal ka height adjust */
  width: 100%;
  position: relative;
}

/* Image fix sizing */
#modalImageContent img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;  /* image ko crop nahi karega, pura show karega */
  margin: auto;
  display: block;
}
