@font-face {
    font-family: "gotham";
    src: url("/font/GOTHAM-MEDIUM.eot");
    src: url("/font/GOTHAM-MEDIUM.eot?#iefix") format("embedded-opentype"),
        url("/font/GOTHAM-MEDIUM.woff2")format("woff2"),
        url("/font/GOTHAM-MEDIUM.woff2")format("woff"),
        url("/font/GOTHAM-MEDIUM.ttf")format("truetype"),
}


/* Enquiry Badge */
        .enquiry-badge {
            position: absolute;
            top: 12px;
            right: 12px;
            background: #00465d;
            color: white;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 500;
            opacity: 0;
            transform: translateY(-10px);
            transition: all 0.3s ease;
        }

        .gallery-card:hover .enquiry-badge {
            opacity: 1;
            transform: translateY(0);
        }

        /* Enquiry Popup Overlay */
        .enquiry-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
            z-index: 9999;
            animation: fadeIn 0.3s ease;
            overflow-y: auto;
            padding: 20px;
        }

        .enquiry-overlay.active {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Enquiry Popup Container */
        .enquiry-popup {
            background: white;
           
            width: 100%;
            max-width: 480px;
            position: relative;
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
            animation: slideUp 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
            margin: auto;
        }

        /* Popup Header */
        .popup-header {
            background: linear-gradient(135deg, #00465d 0%, #00465d 100%);
            
            padding: 30px 24px;
            text-align: center;
            position: relative;
        }

        .popup-header h2 {
            color: white;
            font-family: "gotham", sans-serif;
            font-size: 24px;
            font-weight: 700;
            margin: 0;
            line-height: 1.3;
        }

        .popup-header p {
            color: rgba(255, 255, 255, 0.9);
            font-family: "gotham", sans-serif;
            margin: 8px 0 0;
            font-size: 14px;
            font-weight: 400;
        }

        /* Close Button */
        .close-btn {
            position: absolute;
            top: 16px;
            right: 16px;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            border: 2px solid rgba(255, 255, 255, 0.3);
            background: rgba(255, 255, 255, 0.1);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 18px;
            transition: all 0.3s ease;
            z-index: 1;
        }

        .close-btn:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: rotate(90deg);
            border-color: rgba(255, 255, 255, 0.5);
        }

        /* Form Body */
        .form-body {
            padding: 24px;
            max-height: calc(90vh - 180px);
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
        }

        /* Form Groups */
        .form-group {
            margin-bottom: 20px;
        }

        .form-group:last-child {
            margin-bottom: 0;
        }

        .form-group label {
            display: block;
            margin-bottom: 6px;
            text-align: start;
            color: #0F172A;
            font-weight: 600;
            font-size: 13px;
            letter-spacing: 0.3px;
            font-family: "gotham", sans-serif;
        }

        .form-group label .required {
            color: #EF4444;
            font-family: "gotham", sans-serif;
            margin-left: 2px;
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 12px 16px;
            border: 2px solid #E2E8F0;
          
            font-size: 15px;
            transition: all 0.3s ease;
            font-family: "gotham", sans-serif;
            background: #F8FAFC;
            color: #0F172A;
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
        }

        .form-group select {
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23475569' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 16px center;
            padding-right: 40px;
        }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #00465d;
            box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
            background: white;
        }

        .form-group textarea {
            resize: vertical;
            min-height: 80px;
            max-height: 150px;
        }

        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: #94A3B8;
        }

        /* Two Column Layout */
        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
        }

        /* Submit Button */
        .submit-btn {
            width: 100%;
            padding: 14px 24px;
            background: linear-gradient(135deg, #00465d 0%, #00465d 100%);
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 24px;
            position: relative;
            overflow: hidden;
        }

        .submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(56, 189, 248, 0.4);
        }

        .submit-btn:active {
            transform: translateY(0);
            box-shadow: 0 5px 15px rgba(56, 189, 248, 0.3);
        }

        .submit-btn:disabled {
            opacity: 0.7;
            cursor: not-allowed;
            transform: none;
        }

        .submit-btn .spinner {
            display: none;
            width: 20px;
            height: 20px;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-top-color: white;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
            margin-right: 10px;
            vertical-align: middle;
        }

        .submit-btn.loading .spinner {
            display: inline-block;
        }

        /* Success Message */
        .success-message {
            display: none;
            text-align: start;
            padding: 40px 20px;
        }

        .success-message.active {
            display: block;
            animation: fadeIn 0.5s ease;
        }

        .success-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, #10B981 0%, #059669 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 24px;
            box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
        }

        .success-icon svg {
            width: 40px;
            height: 40px;
            color: white;
        }

        .success-message h3 {
            color: #0F172A;
            font-size: 24px;
            font-weight: 700;
            margin: 0 0 8px 0;
        }

        .success-message p {
            color: #64748B;
            margin: 0 0 24px 0;
            font-size: 15px;
            line-height: 1.5;
        }

        .close-success-btn {
            padding: 12px 32px;
            background: #0F172A;
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .close-success-btn:hover {
            background: #1E293B;
            transform: translateY(-2px);
        }

        /* Error State */
        .form-group.error input,
        .form-group.error select,
        .form-group.error textarea {
            border-color: #EF4444;
        }

        .error-message {
            color: #EF4444;
            font-size: 12px;
            margin-top: 4px;
            display: none;
        }

        .form-group.error .error-message {
            display: block;
        }

        /* Animations */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(20px) scale(0.96);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        /* Mobile Responsive */
        @media (max-width: 640px) {
            .enquiry-overlay {
                padding: 10px;
                align-items: flex-end;
            }

            .enquiry-popup {
                border-radius: 24px 24px 12px 12px;
                max-height: 90vh;
                display: flex;
                flex-direction: column;
            }

            .popup-header {
                border-radius: 24px 24px 0 0;
                padding: 24px 20px;
            }

            .popup-header h2 {
                font-size: 20px;
            }

            .popup-header p {
                font-size: 13px;
            }

            .form-body {
                padding: 20px;
                flex: 1;
                overflow-y: auto;
            }

            .form-row {
                grid-template-columns: 1fr;
                gap: 0;
            }

            .form-group {
                margin-bottom: 16px;
            }

            .form-group input,
            .form-group select,
            .form-group textarea {
                padding: 10px 14px;
                font-size: 16px; /* Prevents iOS zoom */
            }

            .submit-btn {
                padding: 14px 20px;
                font-size: 16px;
                margin-top: 20px;
                border-radius: 12px;
            }

            .close-btn {
                top: 12px;
                right: 12px;
                width: 32px;
                height: 32px;
                font-size: 16px;
            }

            .gallery-card img {
                height: 160px;
            }

            .gallery-card p {
                font-size: 14px;
                padding: 12px 16px;
            }
        }

        @media (max-width: 380px) {
            .enquiry-overlay {
                padding: 0;
            }

            .enquiry-popup {
                border-radius: 20px 20px 0 0;
                max-height: 95vh;
            }

            .popup-header {
                padding: 20px 16px;
            }

            .form-body {
                padding: 16px;
            }

            .gallery-grid {
                grid-template-columns: 1fr;
                gap: 16px;
                padding: 12px;
            }

            .gallery-card img {
                height: 140px;
            }
        }

        /* Tablet Responsive */
        @media (min-width: 641px) and (max-width: 1024px) {
            .enquiry-popup {
                max-width: 440px;
            }

            .form-body {
                padding: 28px;
            }
        }

        /* Landscape Mode */
        @media (max-height: 600px) and (orientation: landscape) {
            .enquiry-overlay {
                align-items: flex-start;
                padding: 10px;
            }

            .enquiry-popup {
                max-height: 95vh;
                margin: 10px auto;
            }

            .form-body {
                max-height: calc(95vh - 160px);
            }
        }